Sign in Join
FPDoc Onlineexperiment

add(Tmatrix2_double,Double):Tmatrix2_double operator

In unit matrix

Add scalar to two-dimensional double precision matrix.

Declaration

pascal
operator +(const m: Tmatrix2_double; const x: Double): Tmatrix2_double

Description

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

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