6 #ifndef MYRAMATH_DENSE_MATRIX22_H     7 #define MYRAMATH_DENSE_MATRIX22_H    15 #include <myramath/MYRAMATH_EXPORT.h>    23 template<
class Number> 
class MatrixRange;
    24 template<
class Number> 
class CMatrixRange;
    28 template<
class Number> 
class MYRAMATH_EXPORT 
Matrix22    67     Number& operator() (
int i, 
int j);
    69     const Number& operator() (
int i, 
int j) 
const;
    81     void operator *= (Number alpha);
    84     void operator /= (Number alpha);
   106     static Matrix22<Number> fill_rmajor(Number a00, Number a01, Number a10, Number a11);
   109     static Matrix22<Number> fill_cmajor(Number a00, Number a10, Number a01, Number a11);
   120   { 
public: 
typedef Number type; };
 Number random()
Generate random real/complex Numbers, uniformly distributed over [-1,1]. 
Reflects Number trait for a Container, containers of Numbers (Matrix's, Vector's, etc) should special...
Definition: Number.h:55
Represents a const MatrixRange. 
Definition: bothcat.h:22
Abstraction layer, serializable objects write themselves to these. 
Definition: Streams.h:39
Various utility functions/classes related to scalar Number types. 
Represents a mutable MatrixRange. 
Definition: conjugate.h:26
Matrix type with fixed size 2x2. 
Definition: Matrix22.h:25
Expression< 1, NumberC > make_complex(const Expression< 1, NumberS > &A)
Promotes a real Expression into a complex one. 
Definition: functions_complex.cpp:122
float NumberS
Useful typedefs. 
Definition: Number.h:21