sdynpy.core.sdynpy_matrix.matrix

matrix(matrix, row_coordinate, column_coordinate, buffer=None, offset=0, strides=None, order=None)[source]

Create a matrix object

Parameters
  • matrix (ndarray) – The values in the matrix object

  • row_coordinate (CoordinateArray) – Coordinates to assign to the rows of the matrix

  • column_coordinate (CoordinateArray) – Coordinates to assign to the columns of the matrix

Returns

matrix – Matrix object

Return type

Matrix