Top
Back: mdouble
Forward: msum
FastBack: Procedures in a library
FastForward: Formal Checker
Up: template_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

3.8.7.2 mtriple

Procedure from library template.lib (see template_lib).

Usage:
mtriple(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 (for instance, to print $\alpha, \beta$).
Texinfo also gives more control over the layout, but is, admittingly, more cumbersome to write.
See also:

Example:
 
LIB "template.lib";
mtriple(0);
==> 0
mtriple(-1);
==> -3


Top Back: mdouble Forward: msum FastBack: Procedures in a library FastForward: Formal Checker Up: template_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 4.3.1, 2022, generated by texi2html.