Sign in Join
FPDoc Onlineexperiment

subtract(Tmatrix2_single,single):Tmatrix2_single operator

In unit matrix

Subtract scalar to two-dimensional single precision matrix.

Declaration

pascal
operator -(const m: Tmatrix2_single; const x: single): Tmatrix2_single

Description

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

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