Det
Usage
• Det[m]给出方阵 m的行列式.
Notes
• Det[m, Modulus->n] 计算以 n为模的行列式.
Further Examples
This is the determinant of a x matrix.
In[1]:=
|
Out[1]=
|
This is the determinant of the same matrix over the integers modulo 9.
In[2]:=
|
Out[2]=
|
This is the determinant of a 15 x 15 matrix.
In[3]:=
|
Out[3]=
|
This generates a random 20 x 20 matrix and times how long that takes on an average machine. The coefficients of the matrix have 50 digits of precision, and lie in the region of the complex plane defined by -10 < Re(z) < 10, -10 < Im(z) < 10.
In[4]:=
|
In[5]:=
|
Out[5]=
|
This computes the determinant of the matrix and again times the calculation.
In[6]:=
|
Out[6]=
|
In[7]:=
|
This is a different type of matrix. The entries are Gaussian integers with real and imaginary parts between and .
In[8]:=
|
Here is its determinant with how long the calculation takes.
In[9]:=
|
Out[9]=
|
In[10]:=
|
|