• Converts a tensor to a vector.

    Parameters

    • tens: ChalkboardTensor

      The tensor

    • dimension: number

      The dimension of the vector, which can be 2, 3, or 4

    • Optional index: number = 0

      The index to start from

    Returns ChalkboardVector

Generated using TypeDoc