#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <f2c.h>
#include <clapack.h>
|
double | pinv (long int rows, long int columns, double *A, double *Aplus) |
|
void | matrix_pinv (double *mat_raw_c, double *mat_raw_a, int len) |
|
#define IS_FEASIBLE_MATRIX_SIZE |
( |
|
m, |
|
|
|
n |
|
) |
| |
Value:( \
(
MaxAllocSize /
sizeof(double) / Max(m,n) / Max(m,n) >= 1) && \
#define MaxAllocSize
Definition: Pinv.cpp:95
#define MaxAllocSize ((size_t) 0x3fffffff) /* 1 gigabyte - 1 */ |
void matrix_pinv |
( |
double * |
mat_raw_c, |
|
|
double * |
mat_raw_a, |
|
|
int |
len |
|
) |
| |
double pinv |
( |
long int |
rows, |
|
|
long int |
columns, |
|
|
double * |
A, |
|
|
double * |
Aplus |
|
) |
| |