Skip to content

subtract(Tmatrix2_single,single):Tmatrix2_single

Subtract scalar to two-dimensional single precision matrix.

Declaration

Source position: matrix.pp line 596

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.