00001 /* $Revision: 1.3 $ $Date: 2006/09/05 08:02:46 $ $Author: dgl $ $Name: $ $Id: MusimatChapter9.h,v 1.3 2006/09/05 08:02:46 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 Void C090400(); 00022 Void C090703(); 00023 Void C090703a(); 00024 Void C090703b(); 00025 Void C090703c(); 00026 Void C090903(); 00027 Void C091101(); 00028 Void C091102(); 00029 Void C091200(); 00030 Void C091201(); 00031 Void C091201a(); 00032 Void C091201b(); 00033 Void C091201c(); 00034 Void C091201d(); 00035 Void C091201e(); 00036 Void C091201f(); 00037 Void C091204(); 00038 Void C091204a(); 00039 Void C091204b(); 00040 Void C091204d(); 00041 Void C091405(); 00042 Void C091406(); 00043 Void C091406a(); 00044 Void C091406b(); 00045 Void C091406c(); 00046 Void C091704b(); 00047 Void C091704c(); 00048 Void C091704d(); 00049 00050 IntegerList transpose(IntegerList, Integer); 00051 IntegerList invert(IntegerList); 00052 Integer getIndex(RealList, Real); 00053 Void rotate(IntegerList Reference, Integer, Integer); 00054 Integer cycle(IntegerList, Integer Reference, Integer); 00055 Real sum(RealList L); 00056 RealList Reference accumulate(RealList Reference L); 00057 IntegerList randomRow(Integer); 00058 RealList normalize(RealList L, Real s); 00059 Void realToRational(Real f, Integer Reference num, Integer Reference den); 00060 00061 Static Void para1(); 00062 Static Void para2(); 00063 Static Void para3(); 00064 00065 #define MusimatChapter9Section(x) Void x() 00066 00067 #endif // __TUTORIAL__