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

From ApCoCoAWiki
m (replaced <quotes> tag by real quotes)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{Version|1}}
 
<command>
 
<command>
 
<title>NCo.IsFinite</title>
 
<title>NCo.IsFinite</title>
Line 12: Line 13:
 
<itemize>
 
<itemize>
 
<item>@param <em>X</em>: alphabet (or set of indeterminates) generating the free associative <tt>K</tt>-algebra <tt>K&lt;X&gt;</tt>. It is of STRING type.</item>
 
<item>@param <em>X</em>: alphabet (or set of indeterminates) generating the free associative <tt>K</tt>-algebra <tt>K&lt;X&gt;</tt>. It is of STRING type.</item>
<item>@param <em>M</em>: a LIST of words (or terms) in <tt>K&lt;X&gt;</tt> which generates the monoid ideal <tt>&lt;M&gt;</tt>. Each word is represented as a STRING. For example, <tt>xy^2x</tt> is represented as <quotes>xyyx</quotes>, and the identity is represented as the empty string <quotes></quotes>.</item>
+
<item>@param <em>M</em>: a LIST of words (or terms) in <tt>K&lt;X&gt;</tt> which generates the monoid ideal <tt>&lt;M&gt;</tt>. Each word is represented as a STRING. For example, <tt>xy^2x</tt> is represented as "xyyx", and the identity is represented as the empty string "".</item>
 
<item>@return: a BOOL value which is True if <tt>K</tt>-vector space <tt>K&lt;X&gt;/&lt;M&gt;</tt> is finite and False otherwise.</item>
 
<item>@return: a BOOL value which is True if <tt>K</tt>-vector space <tt>K&lt;X&gt;/&lt;M&gt;</tt> is finite and False otherwise.</item>
 
</itemize>
 
</itemize>
Line 31: Line 32:
 
</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>
Line 43: Line 44:
 
<key>NCo.IsFinite</key>
 
<key>NCo.IsFinite</key>
 
<key>IsFinite</key>
 
<key>IsFinite</key>
<wiki-category>Package_gbmr</wiki-category>
+
<wiki-category>ApCoCoA-1:Package_gbmr</wiki-category>
 
</command>
 
</command>

Latest revision as of 13:40, 29 October 2020

This article is about a function from ApCoCoA-1.

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