Top
Back: 3.9.6.2 mtripple
Forward: 3.10 Debugging tools
FastBack: 3. General concepts
FastForward: 4. Data types
Up: 3.9.6 template_lib
Top: Singular 2-0-4 Manual
Contents: Table of Contents
Index: F. 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: 3.9.6.2 mtripple Forward: 3.10 Debugging tools FastBack: 3. General concepts FastForward: 4. Data types Up: 3.9.6 template_lib Top: Singular 2-0-4 Manual Contents: Table of Contents Index: F. Index About: About This Document
            User manual for Singular version 2-0-4, October 2002, generated by texi2html.