Top
Back: mtripple
Forward: Debugging tools
FastBack: The help string of procedures
FastForward: Debugging tools
Up: template_lib
Top: Singular 2-0-4 Manual
Contents: Table of Contents
Index: Index
About: About this document

3.9.6.3 msum

Procedure from library template.lib (see template_lib).

Usage:
msum([i_1,..,i_n]); i_1,..,i_n def

Return:
Sum of int arguments

Note:
This help string is written in a mixture of ASCII and texinfo
Use a @ref constructs for references (like see mtripple)
Use @code for typewriter font (like i_1)
Use @math for simple math mode typesetting (like $i_1$).
Note: No parenthesis like } are allowed inside @math and @code
Use @example for indented preformatted text typeset in typewriter font like
 
         this  --> that
Use @format for preformatted text typeset in normal font
 
         this --> that
Use @texinfo for text in pure texinfo

==> $ i_{1,1} $

Notice that
automatic linebreaking is still in affect (like on this line).

Example:
 
LIB "template.lib";
msum();
==> 0
msum(4);
==> 4
msum(1,2,3,4);
==> 10
See also: Typesetting of help strings; mdouble; mtripple.


Top Back: mtripple Forward: Debugging tools FastBack: The help string of procedures FastForward: Debugging tools Up: template_lib Top: Singular 2-0-4 Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 2-0-4, May 2003, generated by texi2html.