Class for storing dense matrices
Declaring type: Matrix<T>
Namespace: MyMediaLite.DataType
Assembly: MyMediaLite
Collapse/Expand Public Fields
  Name Description
Public Field data Data array: data is stored in columns.
Public Field dim1 Dimension 1, the number of rows
Public Field dim2 Dimension 2, the number of columns
Collapse/Expand Public Constructors
  Name Description
Public Method Matrix Overloaded. Copy constructor. Creates a deep copy of the given matrix.
Collapse/Expand Public Methods
  Name Description
Public Method AddRows Enlarges the matrix to num_rows rows
Public Method CreateMatrix

There is no summary.

Public Method GetColumn Returns a copy of the j-th column of the matrix
Public Method GetRow Returns a copy of the i-th row of the matrix
Public Method Grow Grows the matrix to the requested size, if necessary
Public Method Init Init the matrix with a default value
Public Method SetColumn Sets the values of the j-th column to the values in a given array
Public Method SetColumnToOneValue Sets an entire column to a specified value
Public Method SetRow Sets the values of the i-th row to the values in a given array
Public Method SetRowToOneValue Sets an entire row to a specified value
Collapse/Expand Public Properties
  Name Description
Public Property Virtual IsSymmetric True if the matrix is symmetric, false otherwise
Public Property Virtual Item The value at (i,j)
Public Property NumberOfColumns

There is no summary.

Public Property NumberOfRows

There is no summary.