LinearAlgebra
Minor
compute a minor of a Matrix
Calling Sequence
Parameters
Description
Examples
Minor(A, r, c, out, meth, options)
A
-
Matrix
r
integer; row to delete
c
integer; column to delete
out
(optional) equation of the form output=obj where obj is one of 'determinant' or 'matrix', or a list consisting of one or both of these names; the result objects to compute
meth
(optional) equation of the form method=name; the determinant computation method
options
(optional); constructor options for the result object
The Minor(A, r, c) function, where A is an m x m (square) Matrix, returns the determinant of the (m-1) x (m-1) submatrix found by deleting the rth row and the cth column of A. This is equivalent to Minor(A, r, c, 'output'='determinant').
The Minor(A, r, c, 'output'='matrix') function, where A is an m x n Matrix, returns the (m-1) x (m-1) submatrix found by deleting the rth row and the cth column of A.
If the out parameter includes 'matrix', then the constructor options provide additional information (readonly, shape, storage, order, datatype, and attributes) to the Matrix constructor that builds the result. These options may also be provided in the form outputoptions=[...], where [...] represents a Maple list. If a constructor option is provided in both the calling sequence directly and in an outputoptions option, the latter takes precedence (regardless of the order).
If the determinant of the submatrix is to be returned, the meth option can be used to select the method by which that determinant is computed. See Determinant for the possible methods.
This function is part of the LinearAlgebra package, and so it can be used in the form Minor(..) only after executing the command with(LinearAlgebra). However, it can always be accessed through the long form of the command by using LinearAlgebra[Minor](..).
with⁡LinearAlgebra:
A≔a|b|c,d|e|f,g|h|i
A≔abcdefghi
Minor⁡A,3,3
a⁢e−b⁢d
Minor⁡A,1,2,output=matrix,determinant,method=minor
dfgi,d⁢i−f⁢g
B≔1,2,3|4,5,6|7,8,9|0,1,2
B≔147025813692
Minor⁡B,2,2,output=matrix,datatype=float
1.7.0.3.9.2.
See Also
LinearAlgebra[Adjoint]
LinearAlgebra[Determinant]
LinearAlgebra[SubMatrix]
Download Help Document