Chalkboard - v3.0.1
    Preparing search index...

    Function toVector

    • Converts a matrix to a vector.

      Parameters

      • matr: ChalkboardMatrix

        The matrix

      • dimension: 2 | 3 | 4

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

      • index: number = 0

        The index of the row or column of the matrix which is the first component of the converted vector

      • Optionalaxis: 0 | 1 = 0

        The axis of the matrix to convert, which is 0 for the rows or 1 for the columns

      Returns ChalkboardVector