SourcePro
:
Linear Algebra Module User’s Guide
:
Vectors and Matrices
: Type Conversion
Type Conversion
Two kinds of type conversion are possible between Rogue Wave matrix classes:
Conversion between matrices with the same shape but different precisions; for example, from a
RWBandMat<float>
to a
RWBandMat<double>
.
Conversion between matrices with the same precision but different shapes; for example, from a
RWSymMat
<
DComplex
>
to an
RWGenMat
<
DComplex
>
.
We discuss these two kinds of conversion in the following sections.
This site works best with JavaScript enabled