#include <cstdio>#include <stdio.h>#include <string.h>#include <math.h>#include <unistd.h>#include <stdlib.h>#include <assert.h>#include "bpmdj.h"#include "pca.h"#include "memory.h"#include "common.h"
Defines | |
| #define | SIGN(a, b) ( (b) < 0 ? -fabs(a) : fabs(a) ) |
Functions | |
| void | do_pca (int n, int m, float4 **data, const char *&error_msg) |
| float4 ** | matrix (int n, int m) |
| void | free_matrix (float4 **mat, int n, int m) |
| #define SIGN | ( | a, | |||
| b | ) | ( (b) < 0 ? -fabs(a) : fabs(a) ) |
| void do_pca | ( | int | n, | |
| int | m, | |||
| float4 ** | data, | |||
| const char *& | error_msg | |||
| ) |
References assert(), free_matrix(), i, and matrix().
| void free_matrix | ( | float4 ** | mat, | |
| int | n, | |||
| int | m | |||
| ) |
| float4** matrix | ( | int | n, | |
| int | m | |||
| ) |
References bpmdj_allocate.
Referenced by do_pca().
1.6.2