Chalkboard - v3.0.1
    Preparing search index...

    Function toVector

    • 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

      • Optionalindex: number = 0

        The index to start from

      Returns ChalkboardVector