Components2D

class Components2D(tensor=None)

2D components (tensor) class.

Initialize the components by a tensor. Attributes xx, xy, …, zz can be used to set the components.

Parameters:

tensor (List[List[float]] | None) – The initial tensor. Defaults to None, results in a zero tensor.

Attributes

tensor

Tensor representation of the components.