⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dim_calc.h

📁 强大的矩阵模版类
💻 H
字号:
#ifndef MTL_DIM_CALC_H#define MTL_DIM_CALC_H#include "mtl/fast.h"namespace mtl {//: For use in deciding whether to do static algorithm//!noindex:template <class Vector>class dim_n {public:#if USE_BLAIS  enum { N = (0 < Vector::N && Vector::N <= 15 ? Vector::N : 0) };  typedef fast::count<N> RET;#else  typedef fast::count<0> RET;#endif};//: For use in deciding whether to do static algorithm//!noindex:template <class Matrix>class dim_m {public:#if USE_BLAIS  enum { M = (0 < Matrix::M && Matrix::M <= 15 ? Matrix::M : 0) };  typedef fast::count<M> RET;#else  typedef fast::count<0> RET;#endif};} /* namespace mtl */#endif /* MTL_DIM_CALC_H */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -