void SumRows(TVec Dst)
The sum of each of the calling matrix rows.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Dst | TVec | source TVec |
Result: stored in self (calling object)
Remarks:
Calculates the sum of each of the calling matrix rows and stores the results in Dst vector. The Dew.Math.Matrix.Length and Dew.Math.Matrix.Complex properties of the Dst vector are adjusted automatically.
Examples
Matrix A;
Vector V;
A.Size(2,2,false,[[1,2,
2,4]);
A.SumRows(V); // V = new double[] {3,6}
See Also: Matrix.SumCols