Lesson 5 Convenience typedefs
2015-11-02 20:48
183 查看
Eigen defines the following Matrix typedefs:
MatrixNt for Matrix<type, N, N>. For example, MatrixXi for Matrix<int, Dynamic, Dynamic>.
VectorNt for Matrix<type, N, 1>. For example, Vector2f for Matrix<float, 2, 1>.
RowVectorNt for Matrix<type, 1, N>. For example, RowVector3d for Matrix<double, 1, 3>.
Where:
N can be any one of
t can be any one of
that typedefs are only defined for these five types doesn't mean that they are the only supported scalar types. For example, all standard integer types are supported, see Scalar
types.
MatrixNt for Matrix<type, N, N>. For example, MatrixXi for Matrix<int, Dynamic, Dynamic>.
VectorNt for Matrix<type, N, 1>. For example, Vector2f for Matrix<float, 2, 1>.
RowVectorNt for Matrix<type, 1, N>. For example, RowVector3d for Matrix<double, 1, 3>.
Where:
N can be any one of
2,
3,
4, or
X(meaning
Dynamic).
t can be any one of
i(meaning int),
f(meaning float),
d(meaning double),
cf(meaning complex<float>), or
cd(meaning complex<double>). The fact
that typedefs are only defined for these five types doesn't mean that they are the only supported scalar types. For example, all standard integer types are supported, see Scalar
types.
相关文章推荐
- LeetCode——Search a 2D Matrix II
- 实现 tomcat 热加载证书
- Activity的切换动画
- 浅谈B树
- hdu1069(dp)
- 这是我的第一篇博客
- android--(内存管理、布局性能优化hierarchyviewer工具、viewStub(需要时显示))
- read_buffer_size
- Swift再浪一波,快来快来
- iOS 开发 c语言阶段考试题
- hdu 5527 Too Rich
- Git命令入门小结
- Linux压缩打包工具
- Lesson 4 Fixed vs. Dynamic size
- java虚拟机的性能监控工具的介绍以及指令的含义
- 文章标题
- 水一下
- cxf+spring发布webservice和调用
- Lesson 3 Matrix Resizing
- 树---求二叉搜索树中两节点的最低公共祖先(LCA)