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

operator :=(Tmatrix4_double): Tmatrix2_single

Allow assignment of four-dimensional double precision matrix to two-dimensional single precision matrix

Declaration

Source position: matrix.pp line 505

operator operator :=(Tmatrix4_double): Tmatrix2_single(

  const v: Tmatrix4_double

):Tmatrix2_single;

Description

This operator allows you to use a four-dimensional matrix with double precision values wherever a two-dimensional matrix with single precision is expected. The surplus fields are thrown away and some precision is lost in the conversion.

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