Matrix.Sum() Method

Top 

Description

Calculates the sum of the matrix elements.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Method Signature

Matrix.Sum(

)

 

 

Return Value

Type:

number

 

 

Returns the sum of all matrix elements.

 

Syntax

myVariable1 = myMatrix1.Sum();

 

 

See also

Matrix Object

Matrix, Array, and Variable Math Guide