Sign in Join
FPDoc Onlineexperiment

assign(Tmatrix4_double):Tmatrix2_single operator

In unit matrix

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

Declaration

pascal
operator :=(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.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.