tensor: Tensor Constructor

Description Usage Arguments Value Examples

Description

This function initialize a tensor object as a 3x3 matrix proportional to the identity.

Usage

1

Arguments

scale

The proportionality constant.

Value

A diagonal tensor proportional to the identity.

Examples

1

astamm/fiber documentation built on May 24, 2019, 5:04 a.m.