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))

Referenced by csl::AmbisonicUnitGenerator::singularValueDecomposition().

#define MAX ( a,
 ) 

#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 Thu Sep 17 23:14:16 2009 for CSL by  doxygen 1.5.8