Declarations of Musimat datatypes and global functions. More...
#include "Aliases.h"#include "MathFuns.h"#include "Complex.h"#include "List.h"#include "Matrix.h"#include "Rational.h"#include "Rhythm.h"#include "Pitch.h"#include "Random.h"#include "Dynamics.h"#include "Pitches.h"#include "Row.h"Go to the source code of this file.
Typedefs | |
| typedef List< Integer > | IntegerList |
| A List of type Integer. | |
| typedef List< Real > | RealList |
| A List of type Real. | |
| typedef List< String > | StringList |
| A List of type String. | |
| typedef List< Complex > | ComplexList |
| A List of complex values. | |
| typedef List< Pitch > | PitchList |
| A List of type Pitch. | |
| typedef List< Rational > | RationalList |
| A List of type Rational. | |
| typedef List< Rhythm > | RhythmList |
| A List of type Rhythm. | |
| typedef Matrix< Integer > | IntegerMatrix |
| A Matrix of type Integer. | |
| typedef Matrix< Real > | RealMatrix |
| A Matrix of type Real. | |
| typedef Matrix< String > | StringMatrix |
| A Matrix of type String. | |
| typedef Matrix< Complex > | ComplexMatrix |
| A Matrix of complex values. | |
| typedef Matrix< Pitch > | PitchMatrix |
| A Matrix of type Pitch. | |
| typedef Matrix< Rational > | RationalMatrix |
| A Matrix of type Rational. | |
| typedef Matrix< Rhythm > | RhythmMatrix |
| A Matrix of type Rhythm. | |
Functions | |
| template<class ListType > | |
| Real | Max (ListType L) |
| Maximum value of List L. | |
| Complex | Max (ComplexList L) |
| template<class ListType > | |
| Integer | MaxPos (ListType L) |
| Index of the maximum value of List L. | |
| template<class Type > | |
| Real | Min (Type L) |
| Minimum value of list L. | |
| Complex | Min (ComplexList L) |
| template<class Type > | |
| Integer | MinPos (Type L) |
| Index of the minimum value of list L. | |
| template<class Type > | |
| Void | Print (Type i) |
| Global print function. | |
| template<class Type > | |
| Void | Print (String s, Type i) |
| Global print function with prefix string. | |
| Integer | Length (RhythmList Reference L) |
| Length of a ComplexList. | |
| Integer | Length (String s) |
| String length. | |
| RationalList | RealListToRationalList (RealList R) |
| Convert a RealList to a RationalList. | |
| PitchList | IntegerListToPitchList (IntegerList Reference L) |
| Convert an IntegerList to a PitchList. | |
| IntegerList | PitchListToIntegerList (PitchList Reference P) |
| Convert a PitchList to an IntegerList. | |
Variables | |
| Const Real | Pi |
| Pi computed to the machine precision of a Real. | |
Declarations of Musimat datatypes and global functions.
Definition in file Musimat.h.
| PitchList IntegerListToPitchList | ( | IntegerList Reference | L ) | [inline] |
| IntegerList PitchListToIntegerList | ( | PitchList Reference | P ) | [inline] |
| RationalList RealListToRationalList | ( | RealList | R ) |
Pi computed to the machine precision of a Real.
Pi computed to the machine precision of a Real.
Always works to the precision of your hardware.
Definition at line 26 of file MathFuns.h.
1.7.2