• Converts a matrix to a vector.

    Parameters

    • matr: ChalkboardMatrix

      The matrix

    • dimension: 2 | 4 | 3

      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

    • Optional axis: 0 | 1 = 0

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

    Returns ChalkboardVector

Generated using TypeDoc