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

The sum of each of the calling matrix columns.

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

Calculates the sum of each of the calling matrix columns 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,5, 2,3]); A.SumCols(V); // V = [3,8] end;
Copyright (c) 1999-2022 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!