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

operator +(Tmatrix2_double, double): Tmatrix2_double

Add scalar to two-dimensional double precision matrix

Declaration

Source position: matrix.pp line 583

operator operator +(Tmatrix2_double, double): Tmatrix2_double(

  const m: Tmatrix2_double;

  const x: double

):Tmatrix2_double;

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.