CSL 5.2

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

Macros | Variables
AmbisonicUtilities.cpp File Reference
`#include <stdlib.h>`
`#include <stdio.h>`
`#include <math.h>`
`#include "AmbisonicUtilities.h"`

Go to the source code of this file.

## Macros
#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

## Macro Definition Documentation

#define PYTHAG | ( |  | a,
|  |  | b
| ) |  |

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

Definition at line 610 of file AmbisonicUtilities.cpp.

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

#define MAX | ( |  | a,
|  |  | b
| ) |  |

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

Definition at line 614 of file AmbisonicUtilities.cpp.

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

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

Definition at line 617 of file AmbisonicUtilities.cpp.

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

## Variable Documentation

double at
| static

Definition at line 609 of file AmbisonicUtilities.cpp.

double bt
| static

Definition at line 609 of file AmbisonicUtilities.cpp.

double ct
| static

Definition at line 609 of file AmbisonicUtilities.cpp.

double maxarg1
| static

Definition at line 613 of file AmbisonicUtilities.cpp.

double maxarg2
| static

Definition at line 613 of file AmbisonicUtilities.cpp.