core/vnl/vnl_double_3x2.h
Go to the documentation of this file.
00001 // This is core/vnl/vnl_double_3x2.h
00002 #ifndef vnl_double_3x2_h_
00003 #define vnl_double_3x2_h_
00004 #ifdef VCL_NEEDS_PRAGMA_INTERFACE
00005 #pragma interface
00006 #endif
00007 //:
00008 // \file
00009 // \brief 3x2 matrix of double
00010 // \author Andrew W. Fitzgibbon, Oxford RRG
00011 // \date   23 Dec 96
00012 //
00013 // \verbatim
00014 //  Modifications
00015 //   Peter Vanroose, 25 June 1999: no need to use #pragma instantiate anymore
00016 //   Peter Vanroose, 21 Oct 1999: vnl_matrix_fixed<double,2,3> already instantiated
00017 //   4/4/01 LSB (Manchester) Tidied documentation
00018 // \endverbatim
00019 //-----------------------------------------------------------------------------
00020 
00021 #include <vnl/vnl_matrix_fixed.h>
00022 
00023 class vnl_double_3x2 : public vnl_matrix_fixed<double, 3, 2>
00024 {
00025   typedef vnl_matrix_fixed<double, 3, 2> Base;
00026  public:
00027 
00028   vnl_double_3x2() {}
00029 
00030   vnl_double_3x2(double r00, double r01,
00031                  double r10, double r11,
00032                  double r20, double r21) {
00033     vnl_double_3x2& M = *this;
00034     M(0,0) = r00;    M(0,1) = r01;
00035     M(1,0) = r10;    M(1,1) = r11;
00036     M(2,0) = r20;    M(2,1) = r21;
00037   }
00038 };
00039 
00040 #endif // vnl_double_3x2_h_