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

subtract(Tvector2_double,Double):Tvector2_double

Subtract scalar from two-dimensional double precision vector

Declaration

Source position: matrix.pp line 419

operator operator -(

  const x: Tvector2_double;

  y: Double

):Tvector2_double;

Description

This operator allows you to subtract a scalar value from a vector. The scalar is subtracted from all elements of the vector, the result is returned as a new vector.


Documentation generated on: Mar 17 2017