C:/Musimathics_local/Musimat/MusimatChapter9/MusimatChapter9.h

Go to the documentation of this file.
00001 /* $Revision: 1.4 $ $Date: 2006/09/12 17:37:28 $ $Author: dgl $ $Name:  $ $Id: _musimat_chapter9_8h-source.html,v 1.4 2006/09/12 17:37:28 dgl Exp $ */
00002 #ifndef __TUTORIAL__
00003 #define __TUTORIAL__
00004 
00005 // The Musimat Tutorial © 2006 Gareth Loy
00006 // Derived from Chapter 9 and Appendix B of "Musimathics Vol. 1" © 2006 Gareth Loy 
00007 // and published exclusively by The MIT Press.
00008 // This program is released WITHOUT ANY WARRANTY; without even the implied 
00009 // warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
00010 // For information on usage and redistribution, and for a DISCLAIMER OF ALL
00011 // WARRANTIES, see the file, "LICENSE.txt," in this distribution.
00012 // "Musimathics" is available here:     http://mitpress.mit.edu/catalog/item/default.asp?ttype=2&tid=10916
00013 // Gareth Loy's Musimathics website:    http://www.musimathics.com/
00014 // The Musimat website:                 http://www.musimat.com/
00015 // This program is released under the terms of the GNU General Public License
00016 // available here:                      http://www.gnu.org/licenses/gpl.txt
00017 
00018 #include "Musimat.h"
00019 #include "Pitches.h"
00020 
00021 namespace Chapter9 {
00022         Void C090400(); 
00023         Void C090703(); 
00024         Void C090703a();
00025         Void C090703b();
00026         Void C090703c();
00027         Void C090903();
00028         Void C091101();
00029         Void C091102();
00030         Void C091200();
00031         Void C091201();
00032         Void C091201a();
00033         Void C091201b();
00034         Void C091201c();
00035         Void C091201d();
00036         Void C091201e();
00037         Void C091201f();
00038         Void C091204();
00039         Void C091204a();
00040         Void C091204b();
00041         Void C091204d();
00042         Void C091405();
00043         Void C091406();
00044         Void C091406a();
00045         Void C091406b();
00046         Void C091406c();
00047         Void C091704b();
00048         Void C091704c();
00049         Void C091704d();
00050 
00051         Static Void para1();
00052         Static Void para2();
00053         Static Void para3();
00054 
00055         Integer LCRandom();
00056         Real Random( Real L = 0.0, Real U = 1.0 );
00057         Integer Random(Integer L, Integer U);
00058         Integer interpTendency(Real f,  IntegerList L1, Integer Reference pos1, IntegerList L2, Integer Reference pos2, Integer inc);
00059         RealList Reference accumulate(RealList Reference L);
00060 
00061         IntegerList invert(IntegerList);
00062         IntegerList transpose(IntegerList, Integer);
00063         Void rotate(IntegerList Reference, Integer, Integer);
00064         IntegerList randomRow(Integer);
00065         extern Integer x;
00066         extern RealList f;
00067         Integer cycle(IntegerList, Integer Reference, Integer);
00068         Integer getIndex(RealList, Real);
00069         RealList normalize(RealList L, Real s);
00070         Void realToRational(Real f, Integer Reference num, Integer Reference den);
00071         Real sum(RealList L);
00072 
00073 
00074 } // end namespace Chapter9
00075 
00076 Const Integer c = 2147483647;
00077 
00078 #define MusimatChapter9Section(x)namespace Chapter9 { Void x()
00079 
00080 #endif // __TUTORIAL__

Generated on Tue Sep 12 10:14:15 2006 for Musimat Chapter 9 Code Examples by  doxygen 1.4.7