assign(Tmatrix4_double):Tmatrix2_single

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

Declaration

Source position: matrix.pp line 506

  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.