Sparse Matrix<T>.Get Row Sums Method
Returns the sums of the components of each row of the matrix.
Definition
Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
A DenseVector<T> whose elements are the sum of the corresponding row of the matrix.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public override Vector<T> GetRowSums()
Return Value
Vector<T>A DenseVector<T> whose elements are the sum of the corresponding row of the matrix.