CMatrix:Volume
The Volume method returns the sum of all matrix elements.
vol = CMatrix:Volume() |
vol is the volume of the matrix.
The following script computes the volume of the CMatrix:
|
-- create a CMatrix |
|
-- setup a 5 x 7 matrix |
|
-- result: Vol = 35 |
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics,
Inc. All Rights Reserved.