| M_FtoD | M_FtoE | M_CFtoCD | M_CFtoCE |
| M_DtoF | M_DtoE | M_CDtoCF | M_CDtoCE |
| M_EtoF | M_EtoD | M_CEtoCF | M_CEtoCD |
|
| Function | Data 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, unsigned ht, unsigned len );
(similarly all other functions of this family) |
C++ MatObj | #include <OptiVec.h>
void matrix<double>::FtoD( const matrix<float>& MX ); |
| Pascal/Delphi | uses MDstd;
(always include the unit of the destination data-type!)
procedure M_FtoD( MY:dMatrix; MX:fMatrix; ht, len:UInt );
(similarly all other functions of this family) |
|
| Description | Each element of MX is converted from the data type specified for MX to the data type specified for MY and stored in MY. |
|
| Error handling | OVERFLOW 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. |
|
|