GEL
2
GEL is a library for Geometry and Linear Algebra
|
00001 #ifndef __CGLA_MAT2X2D_H__ 00002 #define __CGLA_MAT2X2D_H__ 00003 00004 #include "Vec2d.h" 00005 #include "ArithSqMat2x2Float.h" 00006 00007 00008 namespace CGLA { 00009 00014 class Mat2x2d: public ArithSqMat2x2Float<Vec2d, Mat2x2d> 00015 { 00016 public: 00017 00019 Mat2x2d(Vec2d a, Vec2d b): ArithSqMat2x2Float<Vec2d, Mat2x2d> (a,b) {} 00020 00022 Mat2x2d(double a, double b, double c, double d): 00023 ArithSqMat2x2Float<Vec2d, Mat2x2d>(Vec2d(a,b),Vec2d(c,d)) {} 00024 00026 Mat2x2d() {} 00027 00029 explicit Mat2x2d(double a): 00030 ArithSqMat2x2Float<Vec2d, Mat2x2d>(a) {} 00031 }; 00032 00033 } 00034 #endif