Matrix.Sum() Method

Top 

Description

Calculates the sum of the matrix elements.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

Click here to see the documentation for this object in nanosecond 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