Type Definitions
-
Root
Data type holding roots of a polynomial with multiplicity.
-
Description
Roots are counted with multiplicity:
[x, m]
indicates a root of a polynomial at the (Complex or real) numberx
with multiplicitym
. A Root can also be a simple number or Complex number, which is taken to have multiplicity equal to 1.Details
-
Pivot
A pivot position is recorded as a pair
[row, column]
. -
Details
-
PLUData
The core data computed by Gaussian elimination.
-
Description
When performing Gaussian elimination on a computer, it is easy to keep track of the row operations performed, and various other data.
Properties
Name Type Description P
Array.<number> A permutation of the numbers
1...m-1
. by Matrix.permutation.L
Matrix An
m
xm
lower-triangular matrix with ones on the diagonal.U
Matrix An
m
xn
matrix in row echelon form.E
Matrix An
m
xm
invertible matrix equal toL^(-1)P
, soEA = U
.pivots
Array.<Pivot> An array of pivot positions.
det
number The determinant of the matrix (only set for square matrices).
Details
-
QRData
The data computed in the Gram–Schmidt algorithm.
-
Description
This primarily consists of an
m
xn
matrixQ
with orthogonal columns and an upper-triangularn
xn
matrixR
such thatA = QR
. Also included is a list of which columns ofQ
are zero.Properties
Name Type Description Q
Matrix An
m
xn
matrix with orthogonal columns.R
Matrix An
n
xn
upper-triangular matrix.LD
Array.<number> A list of the zero columns of
Q
.Details
-
Diagonalization
Diagonalizability data:
this = CDC^(-1)
. -
SVDData
Singular value decomposition data.
-
LDLTData
LDLT decomposition data.