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

Add a product of two vectors.

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

Multiply Vec1 elements with coresponding Vec2 elements and add the result to the calling vector. The size of the calling vector is set implicitly.

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