Difference between revisions of "ApCoCoA-1:NCo.IsFinite"

From ApCoCoAWiki
m (Bot: Category moved)
m (fixed links to namespace ApCoCoA)
Line 31: Line 31:
 
</description>
 
</description>
 
<seealso>
 
<seealso>
<see>NCo.AdMatrix</see>
+
<see>ApCoCoA-1:NCo.AdMatrix|NCo.AdMatrix</see>
<see>Introduction to CoCoAServer</see>
+
<see>ApCoCoA-1:Introduction to CoCoAServer|Introduction to CoCoAServer</see>
 
</seealso>
 
</seealso>
 
<types>
 
<types>

Revision as of 08:29, 7 October 2020

NCo.IsFinite

Check whether the K-dimension dim(K<X>/<M>) is finite, where <M> is an monoid ideal generated by a finite set M of words.

Syntax

NCo.IsFinite(X:STRING, M:LIST):BOOL

Description

Please note: The function(s) explained on this page is/are using the ApCoCoAServer. You will have to start the ApCoCoAServer in order to use it/them.

  • @param X: alphabet (or set of indeterminates) generating the free associative K-algebra K<X>. It is of STRING type.

  • @param M: a LIST of words (or terms) in K<X> which generates the monoid ideal <M>. Each word is represented as a STRING. For example, xy^2x is represented as "xyyx", and the identity is represented as the empty string "".

  • @return: a BOOL value which is True if K-vector space K<X>/<M> is finite and False otherwise.

Example

X:="xy";
M:=["xxx","yxy","xyx"];
NCo.IsFinite(X, M);

False
-------------------------------
X:="xy";
M:=["xxx","yxy","xyx","yyx","yyy"];
NCo.IsFinite(X, M);

True
-------------------------------

See also

NCo.AdMatrix

Introduction to CoCoAServer