Conversions Between Matrix Classes

Almost any matrix can be converted to an arbirtrary other matrix class, but there are of course a few caveats. In particular,

There is a certain danger involved in offering all these conversion possibilities. Indeed, sometimes the compiler will automatically choose to convert a matrix class into another one if one has requested a certain matrix operation that is only available for one specific matrix class. On several occasions this has led to rather unexpected results. Therefore explicit conversion is recommended whenever matrix classes of different types are mixed within one statement or whenever one is not sure of the availability of a certain operation for the desired combination of matrices.