|
D.4.4.3 oneDimBelongSemigroup
Procedure from library cisimplicial.lib (see cisimplicial_lib).
- Usage:
- oneDimBelongSemigroup(n,v[,m]); v is an integral vector,
n is a positive integer[, m is a positive integer].
- Return:
- counters, a vector with nonnegative entries such that
v*counters = n. If it does not exist such a vector, it returns 0.
If a third parameter m is introduced, it will only consider the
first m entries of v.
- Assume:
- v is an integral vector with positive entries.
Example:
|