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 MY, fMatrix MX, 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/Delphi | uses 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) |
|
CUDA function C/C++ | #include <cudaMDstd.h>
int cudaM_FtoD( dMatrix d_MY, fMatrix d_MX, ui ht, ui len );
void Mcu_FtoD( dMatrix h_MY, fMatrix h_MX, ui ht, ui len );
|
CUDA function Pascal/Delphi | uses MDstd;
function cudaM_FtoD( d_MY:dMatrix; d_MX:fMatrix; ht, len:UIntSize ): IntBool;
procedure Mcu_FtoD( h_MY:dMatrix; h_MX:fMatrix; ht, len:UIntSize );
|
|
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. |
|
|