AmbisonicUtilities.cpp File Reference

#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include "AmbisonicUtilities.h"

Defines

#define PYTHAG(a, b)
#define MAX(a, b)
#define SIGN(a, b)   ((b) < 0.0 ? -fabs(a): fabs(a))

Variables

static double at
static double bt
static double ct
static double maxarg1
static double maxarg2


Define Documentation

#define PYTHAG a,
 ) 
 

Value:

((at = fabs(a)) > (bt = fabs(b)) ? \
(ct = bt/at, at*sqrt(1.0+ct*ct)): (bt ? (ct = at/bt, bt*sqrt(1.0+ct*ct)): 0.0))

#define MAX a,
 ) 
 

Value:

(maxarg1 = (a), maxarg2 = (b), (maxarg1) > (maxarg2) ? \
(maxarg1) : (maxarg2))

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


Variable Documentation

double at [static]
 

double bt [static]
 

double ct [static]
 

double maxarg1 [static]
 

double maxarg2 [static]
 


Generated on Sat Oct 17 14:12:33 2009 for CSL by  doxygen 1.4.5-20051010