**CIGAL Reference Manual, Chapter 6 (RealTime): r_vecmult** ===== r_vecmult -- Multiply (or divide) vector variables ===== **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:**\\ [[jvs:cigal:manual:chapter6:r_vecadd|R_VECADD]] [[jvs:cigal|CIGAL Home]], [[jvs:cigal:manual|CIGAL Manual]], [[jvs:cigal:manual:chapter6|RealTime List]], [[jvs:cigal:manual:help|Manual Help]]