Difference between revisions of "ApCoCoA-1:LinAlg.Det"
From ApCoCoAWiki
m (Bot: Category moved) |
m (insert version info) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{Version|1}} | ||
<command> | <command> | ||
<title>LinAlg.Det</title> | <title>LinAlg.Det</title> | ||
Line 32: | Line 33: | ||
</description> | </description> | ||
− | <see>Introduction to CoCoAServer</see> | + | <see>ApCoCoA-1:Introduction to CoCoAServer|Introduction to CoCoAServer</see> |
− | <see>LinBox.Det</see> | + | <see>ApCoCoA-1:LinBox.Det|LinBox.Det</see> |
− | <see>Det</see> | + | <see>ApCoCoA-1:Det|Det</see> |
<types> | <types> | ||
<type>matrix</type> | <type>matrix</type> |
Latest revision as of 10:10, 7 October 2020
This article is about a function from ApCoCoA-1. |
LinAlg.Det
Computes the determinant of a matrix.
Syntax
LinAlg.Det(M:MAT):RAT, INT or ZMOD
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.
This function returns the determinant of the square matrix M computed by the ApCoCoAServer using LinBox functions. Please note that in contrary to the built in CoCoA Det function the entries of M are only allowed to be of type RAT, INT or ZMOD. The resulting type depends on the types of the entries of the matrix.
@param M A square matrix whose components are either of type INT, RAT or ZMOD.
@return The determinant of A.
Example
Use R ::= QQ[x]; LinAlg.Det(Mat([[1,2],[0,5]])); ------------------------------- 5 -------------------------------
Example
Use ZZ[x]; LinAlg.Det(Mat([[1,2],[1,4]])); ------------------------------- 2 -------------------------------