You are here: Symbol Reference > AbstractMtxVec Namespace > Classes > TDenseMtxVec Class > public > Divide Method > TDenseMtxVec.Divide Method (TMtxVec, double)
MtxVec VCL
ContentsIndex
PreviousUpNext
TDenseMtxVec.Divide Method (TMtxVec, double)

Vector division.

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

Divide each of Vec elements with corresponding elements in the calling object. Size and TMtxVec.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!