M_FtoDM_FtoEM_CFtoCDM_CFtoCE
M_DtoFM_DtoEM_CDtoCFM_CDtoCE
M_EtoFM_EtoDM_CEtoCFM_CEtoCD
FunctionData type interconversions.
Syntax C/C++#include <MDstd.h>
    (always include the <M..std.h> file of the destination data-type!)
void M_FtoD( dMatrix Y, fMatrix X, ui ht, ui len );
    (similarly all other functions of this family)
C++ MatObj#include <OptiVec.h>
void matrix<double>::FtoD( const matrix<float>& MX );
Pascal/Delphiuses MDstd;
    (always include the unit of the destination data-type!)
procedure M_FtoD( MY:dMatrix; MX:fMatrix; ht, len:UIntSize );
    (similarly all other functions of this family)
DescriptionEach element of MX is converted from the data type specified for MX to the data type specified for MY and stored in MY.
Error handlingOVERFLOW errors may occur in the course of the "down-conversions" (e.g., M_EtoF); by default, the extreme value possible for the destination data type is stored in MY with the correct sign.
See alsochapter 4

MatrixLib Table of Contents  OptiVec home