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

📄 gramschmidtopt.h

📁 件主要用于帮助计算机爱好者学习蚁群算法时做有关蚁群算法的试验。蚁群算法作为一种优秀的新兴的算法
💻 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 + -