CIGAL Reference Manual, Chapter 6 (RealTime): r_vecmult
usage: r_vecmult opflg eflag ltime Vec1 Vec2 NewVec Flag
R_VECMULT is a REALTIME operator that multiplies values to 2-D or 3-D vector VEC1.
VEC2 can be another vector (same dimension as VEC1), or it can be a scalar value. If it is a scalar (single value) then it will be multiplied by every element of VEC1.
NEWVEC is the output vector; it must be the same dimension as VEC1.
If NEWVEC is not specified, the new values will be stored in VEC1.
FLAG: 0 - default 2 - 2-D vectors (default) 3 - 3-D vectors 4 - divide VEC1 by VEC2 (instead of multiplying) 8 - just use 1 value from VEC2 (scalar multiplication)
See Also:
R_VECADD