symcrys
    Preparing search index...

    Function rotateTensor

    • The components of tensor (length 3^rank, flat index) in a frame rotated by the orthogonal matrix rotation: t′{i…} = f·Σ R{ia}…R_{…}·t_{a…}, with f = det(R) for an axial tensor and 1 for a polar one. To express a tensor in the frame of a surface, pass the matrix whose rows are the new axes in the old frame. The kind of tensor is given by its specification or by the name of a property in TENSOR_PROPERTIES.

      Parameters

      Returns number[]