You are here: Symbol Reference > MtxExpr Namespace > Classes > Matrix Record > public > Divide Operator > Matrix.Divide Method (TMtxVec, double)
MtxVec VCL
ContentsIndex
PreviousUpNext
Matrix.Divide Method (TMtxVec, double)

Matrix division.

Pascal
function Divide(const Vec: TMtxVec; Threshold: double): TMtxVec; overload;

Divide each of Vec elements with corresponding elements in the calling object. Size and Complex property of the calling object are set automatically. The result is stored in the calling object. 

The threshold parameter is used to prevent against division by zero and numerical instabilities in the follow on processing. All values of Vec smaller than Threshold will be replaced with Threshold.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!