Sign in Join
FPDoc Onlineexperiment

subtract(Tmatrix3_single,single):Tmatrix3_single operator

In unit matrix

Add scalar to three-dimensional single precision matrix.

Declaration

pascal
operator -(const m: Tmatrix3_single; const x: single): Tmatrix3_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.