Co-factors of a matrix of polynomials or rationals
[tC, d] = coffg(M)
square matrix of numbers or polynomials or rationals, with real or complex coefficients.
square matrix of the type of M
: Transposed co-matrix
of M
, such that tC/d
is equal to
inv(M)
.
scalar: determinant det(M)
, with the
M
's data type and encoding.
coffg(M)
computes co-factors of M
, and returns
the transposed co-matrix tC
.
When M
has a single component, tC
is
1
and d==M
![]() | For large matrices, calculations may be slow. |