stens3

class vec.stens3
assert_close(value: stens3) → None.

Assert that this symetric tensor is close to the given tensor.

fill(value: float) → None.

Set all elements to value.

trace() → vec3.

Returns the trace as a new vec3.

xx() → float.

Return the xx component of the tensor.

xy() → float.

Return the xy component of the tensor.

xz() → float.

Return the xz component of the tensor.

yy() → float.

Return the yy component of the tensor.

yz() → float.

Return the yz component of the tensor.

zz() → float.

Return the zz component of the tensor.