Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
Linsolve - inert matrix solve
Calling Sequence
Linsolve(A, b) mod n
Linsolve(A, b, 'r', 't') mod n
Parameters
A
-
rectangular Matrix
b
Vector
'r'
(optional) name
't'
n
an integer, the modulus
Description
The Linsolve function is a placeholder for representing the solution x to the linear system .
The call Linsolve(A,b) mod n computes the solution vector b if it exists of the linear system over a finite ring of characteristic n. This includes finite fields, , the integers mod p, and where elements of are expressed as polynomials in RootOfs.
If an optional third parameter r is specified, and it is a name, it is assigned the rank of the matrix A.
A linear system with an infinite set of solutions will be parameterized in terms of variables. Maple uses the global names _t[1], _t[2], ... are used by default. If an optional fourth parameter t is specified, and it is a name, the names t[1], t[2], etc. will be used instead.
Examples
An example using GF(2^4).
See Also
Gaussjord, Inverse, mod, Modular[LinearSolve]
Download Help Document