You are here: Symbol Reference > MtxExpr Namespace > Classes > Matrix Record > public > Product Method > Matrix.Product Method ()
MtxVec VCL
ContentsIndex
PreviousUpNext
Matrix.Product Method ()

Elements product.

Pascal
function Product: double; overload;

the product of all calling object elements: 

 

An exception is raised if calling object Complex property is true.

var a: Matrix; c: double; begin a.SetIt(1,4,False,[1,2,3,4]); c := a.Product; // c= 24 end;
Examples on GitHub
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!