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][LUApply] - apply PLU Decomposition to a mod m Matrix or Vector
Calling Sequence
LUApply(m, A, pvec, B)
Parameters
m
-
modulus
A
mod m Matrix (from LUDecomposition)
pvec
permutation vector (from LUDecomposition)
B
mod m Matrix or Vector representing right-hand side of problem
Description
The LUApply function applies the permutation pvec and the forward and backward substitutions encoded in A directly to the right-hand side mod m Matrix or Vector B, where pvec and A are the output of the LUDecomposition function.
B must have the same number of rows as columns in A.
The function works directly on B, returning the solution in B on successful completion. If the function fails, B can be altered.
LUApply is simply the application of Permute, ForwardSubstitute, and then BackwardSubstitute.
This command is part of the LinearAlgebra[Modular] package, so it can be used in the form LUApply(..) only after executing the command with(LinearAlgebra[Modular]). However, it can always be used in the form LinearAlgebra[Modular][LUApply](..).
Examples
Compute LU decomposition of a random 5 x 5 Matrix, and use LUApply to obtain a solution.
Check the solution.
Use float[8] with a nontrivial permutation.
Now apply to a random vector and check it.
See Also
LinearAlgebra/Details, LinearAlgebra[Modular], LinearAlgebra[Modular][BackwardSubstitute], LinearAlgebra[Modular][Copy], LinearAlgebra[Modular][ForwardSubstitute], LinearAlgebra[Modular][LUDecomposition], LinearAlgebra[Modular][Mod], LinearAlgebra[Modular][Multiply], LinearAlgebra[Modular][Permute]
Download Help Document