You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > Matrix Structure > Matrix Methods > Matrix.SumRows Method
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Matrix.SumRows Method

The sum of each of the calling matrix rows.

Syntax
C#
Visual Basic
public void SumRows(TVec Dst);

Calculates the sum of each of the calling matrix rows and stores the results in Dst vector. The Length and Complex properties of the Dst vector are adjusted automatically.

var A: Matrix; V: Vector; begin A.Size(2,2,False,[[1,2, 2,4]); A.SumRows(V); // V = [3,6] end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!