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

📄 matrix_types.hpp

📁 This collection of C++ templates wraps the FORTRAN or C interfaces for LAPACK so that they integrate
💻 HPP
字号:
#ifndef ULAPACK_MATRIX_TYPEDEFS_HPP_
#define ULAPACK_MATRIX_TYPEDEFS_HPP_

namespace ulapack {
	namespace ublas = boost::numeric::ublas;
    
	template <size_t Size, class F = ublas::row_major>
	struct Fixed {
		typedef ublas::matrix<double, F, ublas::bounded_array<double, Size*Size> > Matrix;
		typedef ublas::vector<double, ublas::bounded_array<double, Size> > Vector;
	};

	template <class F = ublas::row_major>
	struct Flex {
		typedef ublas::matrix<double, F> Matrix;
	};

	typedef Flex<>::Matrix Matrix;
	typedef ublas::vector<double> Vector;

} // namespace ulapack

#endif 

⌨️ 快捷键说明

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