[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'matrix' (#rtl)

operator +(Tmatrix2_single, single): Tmatrix2_single

Add scalar to two-dimensional single precision matrix

Declaration

Source position: matrix.pp line 582

operator operator +(Tmatrix2_single, single): Tmatrix2_single(

  const m: Tmatrix2_single;

  const x: single

):Tmatrix2_single;

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.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.