📄 vnl_double_3x2.h
字号:
// This is vxl/vnl/vnl_double_3x2.h
#ifndef vnl_double_3x2_h_
#define vnl_double_3x2_h_
#ifdef VCL_NEEDS_PRAGMA_INTERFACE
#pragma interface
#endif
//:
// \file
// \brief 3x2 matrix of double
// \author Andrew W. Fitzgibbon, Oxford RRG
// \date 23 Dec 96
//
// \verbatim
// Modifications:
// Peter Vanroose, 25 June 1999: no need to use #pragma instantiate anymore
// Peter Vanroose, 21 Oct 1999: vnl_matrix_fixed<double,2,3> already instantiated
// 4/4/01 LSB (Manchester) Tidied documentation
// \endverbatim
//-----------------------------------------------------------------------------
#include <vnl/vnl_matrix_fixed.h>
class vnl_double_3x2 : public vnl_matrix_fixed<double, 3, 2>
{
typedef vnl_matrix_fixed<double, 3, 2> Base;
public:
vnl_double_3x2() {}
vnl_double_3x2(double r00, double r01,
double r10, double r11,
double r20, double r21) {
vnl_double_3x2& M = *this;
M(0,0) = r00; M(0,1) = r01;
M(1,0) = r10; M(1,1) = r11;
M(2,0) = r20; M(2,1) = r21;
}
};
#endif // vnl_double_3x2_h_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -