Sign in Join
FPDoc Onlineexperiment

assign(Tmatrix2_double):Tmatrix4_single operator

In unit matrix

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

Declaration

pascal
operator :=(const v: Tmatrix2_double): Tmatrix4_single

Description

This operator allows you to use a two-dimensional matrix with double precision values wherever a four-dimensional matrix with single precision is expected. The extra fields are set to 0 and some precision is lost because of the conversion.

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