MatrixBase<T>

Base Classes · AiDotNet.Tensors.LinearAlgebra

No summary documentation available yet.

Known derived types: ConfusionMatrix<T>, Matrix<T>

Properties

Property Summary
T Item { get; set; }
bool IsEmpty { get; }
int Columns { get; }
int Rows { get; }

Methods

Method Summary
Matrix<T> SubMatrix(int startRow, int endRow, List<int> columnIndices)
Matrix<T> SubMatrix(int startRow, int startCol, int numRows, int numCols)
MatrixBase<T> Add(MatrixBase<T> other)
MatrixBase<T> Clone()
MatrixBase<T> Empty()
MatrixBase<T> Multiply(MatrixBase<T> other)
MatrixBase<T> Multiply(T scalar)
MatrixBase<T> Ones(int rows, int cols)
MatrixBase<T> Slice(int startRow, int rowCount)
MatrixBase<T> Subtract(MatrixBase<T> other)
MatrixBase<T> Transpose()
MatrixBase<T> Zeros(int rows, int cols)
T ElementWiseMultiplyAndSum(MatrixBase<T> other)
Vector<T> Diagonal()
Vector<T> GetColumn(int col)
Vector<T> GetRow(int row)
VectorBase<T> Multiply(Vector<T> vector)
string ToString()
void Add(MatrixBase<T> other, Span<T> destination)
void AddInPlace(MatrixBase<T> other)
void CopyTo(Span<T> destination)
void Multiply(T scalar, Span<T> destination)
void MultiplyInPlace(T scalar)
void SetColumn(int columnIndex, Vector<T> vector)
void SetRow(int rowIndex, Vector<T> vector)
void Subtract(MatrixBase<T> other, Span<T> destination)
void SubtractInPlace(MatrixBase<T> other)
void TransposeInPlace()