Top
Back: cisimplicial_lib
Forward: belongSemigroup
FastBack:
FastForward:
Up: cisimplicial_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.4.4.1 minMult

Procedure from library cisimplicial.lib (see cisimplicial_lib).

Usage:
minMult (a, b); a integer, b integer vector.

Return:
an integer k, the minimum positive integer such that k*a belongs to the semigroup generated by the integers in b.

Assume:
a is a positive integer, b is a vector of positive integers.

Example:
 
LIB "cisimplicial.lib";
int a = 46;
intvec b = 13,17,59;
minMult(a,b);
==> 3
"// 3*a = 8*b[1] + 2*b[2]"


Top Back: cisimplicial_lib Forward: belongSemigroup FastBack: FastForward: Up: cisimplicial_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.