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

Add a product of two vectors.

Pascal
function AddProduct(const Vec1: TMtxVec; const Vec2: TMtxVec): TMtxVec; 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-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!