📄 matrix.h
字号:
/////////////////////////////////////////////////////////////////////////////////// Matrix.h//// Demonstrates template metaprogramming for matrix operations//// Defines the following template functions, where MtxType is the matrix// type (e.g. matrix33) and N is the matrix size.//// IdentityMtxT( MtxType, Mtx, N ) make Mtx the identity matrix// InitMtxT ( MtxType, Mtx, N, F, Init ) initialize Mtx with Init// TransMtxT ( MtxType, Mtx, N ) transpose Mtx// MultMtxT ( MtxType, r, a, b, N ) compute r = a * b//// Copyright
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -