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

📄 helpers.h

📁 Code for L2-optimal three view triangulation based on calculation of stationary points
💻 H
字号:
#ifndef HELPERS#define HELPERSinline void multiply(double *eq, double *A, int *multiplicationMap, int mapSize,	      int destRow, int m, int n) {  for(int j = 0; j < mapSize; j++) {    A[m * (multiplicationMap[j] - 1) + destRow] = // subtract by 1 to comply with matlab indices.       eq[n - mapSize + j];  }};inline void divide(double *eq, double *A, int *multiplicationMap, int mapSize,	    int destRow, int m, int n) {  for(int j = 0; j < mapSize; j++) {    A[m * (n - mapSize + j) + destRow] = eq[multiplicationMap[j] - 1]; // subtract by 1 to comply with matlab indices.   }};#endif

⌨️ 快捷键说明

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