Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
LinearAlgebra[Modular][Determinant] - compute the determinant of a square mod m Matrix
Calling Sequence
Determinant(m, A, meth)
Parameters
m
-
modulus
A
square mod m Matrix
meth
(optional) keyword for choice of method
Description
The Determinant function returns the mod m determinant of the input square mod m Matrix.
The following methods are available:
REF
(default) Compute using standard row-reduction (Row Echelon Form)
inplaceREF
Compute using standard row-reduction in-place in the input Matrix
RET
Compute using a Row Echelon Transformation approach
inplaceRET
Compute using a Row Echelon Transformation in-place in the input Matrix
Note that the two inplace methods available will destroy the data in the input Matrix, while the other methods will generate a copy of the Matrix in which to perform the computation.
The RET methods are likely to be faster for large matrices, but may fail if the modulus is composite.
This command is part of the LinearAlgebra[Modular] package, so it can be used in the form Determinant(..) only after executing the command with(LinearAlgebra[Modular]). However, it can always be used in the form LinearAlgebra[Modular][Determinant](..).
Examples
With inplaceREF the input Matrix is altered
A composite example where the RET method is unsuccessful
Error, (in LinearAlgebra:-Modular:-RowEchelonTransform) modulus is composite
Note that this is only because this is a case where the row echelon form exists, but the row echelon transform cannot be written in the required form.
See Also
LinearAlgebra/Details, LinearAlgebra[Modular], LinearAlgebra[Modular][Create], LinearAlgebra[Modular][RowEchelonTransform], LinearAlgebra[Modular][RowReduce]
Download Help Document