vnl_double_3x2.h
Go to the documentation of this file.
1 // This is core/vnl/vnl_double_3x2.h
2 #ifndef vnl_double_3x2_h_
3 #define vnl_double_3x2_h_
4 //:
5 // \file
6 // \brief 3x2 matrix of double
7 // \author Andrew W. Fitzgibbon, Oxford RRG
8 // \date 23 Dec 96
9 //
10 // \verbatim
11 // Modifications
12 // Peter Vanroose, 25 June 1999: no need to use #pragma instantiate anymore
13 // Peter Vanroose, 21 Oct 1999: vnl_matrix_fixed<double,2,3> already instantiated
14 // 4/4/01 LSB (Manchester) Tidied documentation
15 // \endverbatim
16 //-----------------------------------------------------------------------------
17 
18 #include <vnl/vnl_matrix_fixed.h>
19 #include "vnl/vnl_export.h"
20 
21 class VNL_EXPORT vnl_double_3x2 : public vnl_matrix_fixed<double, 3, 2>
22 {
23  private:
25  public:
26 
27  vnl_double_3x2() = default;
28 
29  vnl_double_3x2(double r00, double r01,
30  double r10, double r11,
31  double r20, double r21) {
32  vnl_double_3x2& M = *this;
33  M(0,0) = r00; M(0,1) = r01;
34  M(1,0) = r10; M(1,1) = r11;
35  M(2,0) = r20; M(2,1) = r21;
36  }
37 };
38 
39 #endif // vnl_double_3x2_h_
Fixed size, stack-stored, space-efficient matrix.
Definition: vnl_fwd.h:23
fixed size matrix