Home Online Manual
Top
Back: UpperMonomials
Forward: Min
FastBack: mondromy_lib
FastForward: sing_lib
Up: qhmoduli_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.6.12.8 Max

Procedure from library qhmoduli.lib (see qhmoduli_lib).

Usage:
Max(data); intvec/list of integers

Purpose:
find the maximal integer contained in 'data'

Return:
list

Assume:
'data' contains only integers and is not empty

Example:
 
LIB "qhmoduli.lib";
Max(list(1,2,3));
==> 3