[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'matrix' (#rtl)

operator *(Tvector2_double, double): Tvector2_double

Multiply a two-dimensional double precision vector by a scalar

Declaration

Source position: matrix.pp line 428

operator operator *(Tvector2_double, double): Tvector2_double(

  const x: Tvector2_double;

  y: double

):Tvector2_double;

Description

This operator allows you to multiply a vector by a scalar value. Each vector element is multiplied by the scalar value; the result is returned as a new vector.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.