data.tensor.extra

Syntax

a = data.tensor.extra(tp<,i>)
data.tensor.extra(tp<,i>) = a

Get/set a tensor extra variable.

Returns:

a - extra value

Accepts:

a - extra value

Arguments:

tp - tensor pointer

i - Optional extra index (if not provided, then i is taken to equal 1)