- Main Page
- Namespaces
- Files

- File List
- File Members

# C:/Musimathics_local/Musimat/MusimatTutorial/B0108.cpp

Go to the documentation of this file.

    00001 #include "MusimatTutorial.h"
    00002 MusimatTutorialSection(B0108) {
    00003 Print("*** B.1.8 Operators and Operands ***");
    00004 /*****************************************************************************
    00005
    00006 B.1.8 Operators and Operands
    00007
    00008 The symbols + and  are operators, and the data they act upon are operands. Most operators take
    00009 two operands, and the operator lies between the operands, for example, a + b, and c / d. Such
    00010 operators are called binary infix, meaning that the operator lies between two operands. In its binary
    00011 infix form, the symbol  means subtraction, for example, a  b. The unary prefix  operator
    00012 comes before the expression it negates, for example, 3.
    00013
    00014 Multiplication in mathematics is typically expressed by the concatenation of variables, so for
    00015 instance at means the product of variables a and t. But this can be ambiguous, because at could
    00016 also refer to the single word at. To avoid ambiguity, the infix operator * indicates multiplication,
    00017 so the product of m times n is written m * n.
    00018
    00019 *****************************************************************************/
    00020 }}
    00021
    00023 /* $Revision: 1.1 $ $Date: 2006/09/08 19:11:30 $ $Author: dgl $ $Name:  $ $Id: _b0108_8cpp-source.html,v 1.1 2006/09/08 19:11:30 dgl Exp $ */
    00024 // The Musimat Tutorial © 2006 Gareth Loy
    00025 // Derived from Chapter 9 and Appendix B of "Musimathics Vol. 1" © 2006 Gareth Loy
    00026 // and published exclusively by The MIT Press.
    00027 // This program is released WITHOUT ANY WARRANTY; without even the implied
    00028 // warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    00029 // For information on usage and redistribution, and for a DISCLAIMER OF ALL
    00030 // WARRANTIES, see the file, "LICENSE.txt," in this distribution.
    00031 // "Musimathics" is available here:     http://mitpress.mit.edu/catalog/item/default.asp?ttype=2&tid=10916
    00032 // Gareth Loy's Musimathics website:    http://www.musimathics.com/
    00033 // The Musimat website:                 http://www.musimat.com/
    00034 // This program is released under the terms of the GNU General Public License
    00035 // available here:                      http://www.gnu.org/licenses/gpl.txt
    00036