data.tensor.value

Syntax

Tensor Access

f = data.tensor.value(tp<,i1<,i2>>)
data.tensor.value(tp<,i1<,i2>>) = f

Get/set the tensor value.

Returns:

f - tensor value

Accepts:

f - tensor value

Arguments:

tp - tensor pointer

i1 - Optional tensor index that, if given without i2, ranges from 1 to 7, accessing the \(xx\), \(yy\), \(zz\), \(xy\), \(xz\), and \(yz\) tensor values.

i2 - Optional tensor notation that must be given with i1. In this case, i1 corresponds to the first index of the tensor position and i2 to the second in the row/column format. For instance, i1 = 1 and i2 = 3 returns the \(xz\) tensor value.

Value Access

f = data.tensor.value.xx(tp)
data.tensor.value.xx(tp) = f

Get/set the \(xx\)-value of the tensor value.

Returns:f - \(xx\)-value of the tensor
Accepts:f - \(xx\)-value of the tensor
Arguments:tp - tensor pointer
f = data.tensor.value.xy(tp)
data.tensor.value.xy(tp) = f

Get/set the \(xy\)-value of the tensor value.

Returns:f - \(xy\)-value of the tensor
Accepts:f - \(xy\)-value of the tensor
Arguments:tp - tensor pointer
f = data.tensor.value.xz(tp)
data.tensor.value.xz(tp) = f

Get/set the \(xz\)-value of the tensor value.

Returns:f - \(xz\)-value of the tensor
Accepts:f - \(xz\)-value of the tensor
Arguments:tp - tensor pointer
f = data.tensor.value.yy(tp)
data.tensor.value.yy(tp) = f

Get/set the \(yy\)-value of the tensor value.

Returns:f - \(yy\)-value of the tensor
Accepts:f - \(yy\)-value of the tensor
Arguments:tp - tensor pointer
f = data.tensor.value.yz(tp)
data.tensor.value.yz(tp) = f

Get/set the \(yz\)-value of the tensor value.

Returns:f - \(yz\)-value of the tensor
Accepts:f - \(yz\)-value of the tensor
Arguments:tp - tensor pointer
f = data.tensor.value.zz(tp)
data.tensor.value.zz(tp) = f

Get/set the \(zz\)-value of the tensor value.

Returns:f - \(zz\)-value of the tensor
Accepts:f - \(zz\)-value of the tensor
Arguments:tp - tensor pointer