You are here: Symbol Reference > clMtxExpr Namespace > Classes > clVector Record > public > Sub Method > clVector.Sub Method (TOpenCLMtxVec, TOpenCLMtxVec)
MtxVec VCL
ContentsIndex
PreviousUpNext
clVector.Sub Method (TOpenCLMtxVec, TOpenCLMtxVec)

Subtract Vec2 elements from Vec1 elements.

Pascal
function Sub(const Vec1: TOpenCLMtxVec; const Vec2: TOpenCLMtxVec): TOpenCLMtxVec; overload;

Stores the results in calling object. Size and Complex property of calling object are adjusted automatically. An exception is raised if Vec1 and Vec2 size and Complex property do not match.

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