Sign in Join
FPDoc Onlineexperiment

subtract(Tmatrix4_double,Double):Tmatrix4_double operator

In unit matrix

Add scalar to four-dimensional double precision matrix.

Declaration

pascal
operator -(const m: Tmatrix4_double; const x: Double): Tmatrix4_double

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.