matrixexpression.h

来自「很好的kalman程序。.zip文件包含了所有的用到kalman滤波的库和头文件」· C头文件 代码 · 共 37 行

H
37
字号
#ifndef MEMS_MATRIX_EXPRESSION_H
#define MEMS_MATRIX_EXPRESSION_H

#include "Matrix.h"
#include "Vector.h"

namespace mems
{

namespace MatrixExpression
{
    Matrix prod(const Matrix & e1, const Matrix & e2);
    Matrix prec_prod(const Matrix & e1, const Matrix & e2);
    Vector prod(const Matrix & e1, const Vector & e2);
    Vector prec_prod(const Matrix & e1, const Vector & e2);
    Vector prod(const Vector & e1, const Matrix & e2);
    Vector prec_prod(const Vector & e1, const Matrix & e2);
    Matrix div(const Matrix & e1, const Real & e2);
    Matrix prod(const Real & e1, const Matrix & e2);
    Matrix prod(const Matrix & e1, const Real & e2);

    Matrix trans(const Matrix & e1);
    void zero(Matrix & e1);
    void identity(Matrix & e1);

} // MatrixExpression

} // mems

mems::Matrix operator/(const mems::Matrix & e1, const mems::Real & e2);
mems::Matrix operator*(const mems::Real & e1, const mems::Matrix & e2);
mems::Matrix operator*(const mems::Matrix & e1, const mems::Real & e2);
mems::Matrix operator+(const mems::Matrix & e1, const mems::Matrix & e2);
mems::Matrix operator-(const mems::Matrix & e1, const mems::Matrix & e2);

#endif // MEMS_MATRIX_EXPRESSION_H

⌨️ 快捷键说明

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