Top
Back: 3.9.6.1 mdouble
Forward: 3.9.6.3 msum
FastBack: 3 General concepts
FastForward: 4 Data types
Up: 3.9.6 template_lib
Top: 1 Preface
Contents: Table of Contents
Index: F Index
About: About This Document

3.9.6.2 mtripple

Procedure from library template.lib (see section template_lib).

Usage:

mtripple(i); i int

Return:

int: i + i + i

Note:

Help is in pure Texinfo
This help string is written in texinfo, which enables you to use, among others, the @math command for mathematical typesetting (like

α,β

).
It also gives more control over the layout, but is, admittingly, more cumbersome to write.

See also: Typesetting of help strings; mdouble; msum.

Example:

LIB "template.lib";
mtripple(0);
→ 0
mtripple(-1);
→ -3

Top Back: 3.9.6.1 mdouble Forward: 3.9.6.3 msum FastBack: 3 General concepts FastForward: 4 Data types Up: 3.9.6 template_lib Top: 1 Preface Contents: Table of Contents Index: F Index About: About This Document
            User manual for Singular version 2-0-4, October 2002, generated by texinfo.