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

📄 matrix.h

📁 robocuo相关资料robocuo相关资料
💻 H
字号:
#ifndef __Matrix1_H#define __Matrix1_H#include <stdio.h>#include <string>using namespace std;struct Vector2d;struct Vector3d;struct Matrix{	Matrix();	explicit Matrix( const Vector2d & );	explicit Matrix( const Vector3d & );	Vector2d getVector2d();	Vector3d getVector3d();	Matrix operator*( const Matrix & ) const;	Vector3d operator*( const Vector3d & ) const;	Matrix operator-() const;	static Matrix transferX( double );	static Matrix transferY( double );	static Matrix transferZ( double );	static Matrix translate( double, double, double );	static Matrix rotateX( double );	static Matrix rotateY( double );	static Matrix rotateZ( double );	static Matrix rotate_arbitrary_axis( Vector3d, double );	void swap_col( int, int );	double factor( int, int ) const;	Matrix cofactors() const;	Matrix transport() const;	double determinant() const;	void print();	double m[4][4];};#endif

⌨️ 快捷键说明

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