pca.cpp File Reference

#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"
Include dependency graph for pca.cpp:

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 Documentation

#define SIGN ( a,
 )     ( (b) < 0 ? -fabs(a) : fabs(a) )

Function Documentation

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 
)

Deallocate float4 matrix storage

References bpmdj_deallocate.

Referenced by do_pca().

float4** matrix ( int  n,
int  m 
)

References bpmdj_allocate.

Referenced by do_pca().

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by  doxygen 1.6.2