📄 gramschmidtopt.h
字号:
#ifndef CLASS_GRAMSCHMIDT#define CLASS_GRAMSCHMIDT#include "Common.h"class GramSchmidtOpt {private: double* orthVectors; int gsSize, numRows;public: GramSchmidtOpt(int size) : gsSize(size) { numRows = 0; orthVectors = (double*)malloc(sizeof(double) * gsSize * gsSize); } int addVector(double* inVector); double* returnOrth(int* retRows); ~GramSchmidtOpt() { free(orthVectors); }};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -