Sign in Join
FPDoc Onlineexperiment

add(Tvector2_double,Double):Tvector2_double operator

In unit matrix

Add scalar to two-dimensional double precision vector.

Declaration

pascal
operator +(const x: Tvector2_double; y: Double): Tvector2_double

Description

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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.