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
linalg[geneqns] - generate equations from the coefficient matrix
linalg[genmatrix] - generate the coefficient matrix from equations
Calling Sequence
geneqns(A, x)
geneqns(A, x, b)
genmatrix(eqns, vars)
genmatrix(eqns, vars, flag)
genmatrix(eqns, vars, b)
Parameters
A
-
coefficient matrix
x
name or list of names for the unknowns
b
(optional) right hand side vector
eqns
set or list of equations
vars
set or list of variables
flag
(optional) the name ``flag''
Description
Important: The linalg package has been deprecated. Use the superseding packages, LinearAlgebra and VectorCalculus, instead.
- For information on migrating linalg code to the new packages, see examples/LinearAlgebraMigration.
The function geneqns generates a set of linear equations from a coefficient matrix A in the variables . If an optional third argument the ``right-hand side'' vector b is present, it will be included in the equations. Otherwise the equations will be equated to zero.
The function genmatrix generates the coefficient matrix from the linear system of equations eqns in the unknowns vars. If the optional third argument ``flag'' is present, the ``right-hand side'' vector will be included as the last column of the matrix. Otherwise an optional third argument will be assigned the ``right-hand side'' vector.
These functions are part of the linalg package, and so can be used in the form geneqns(..) and genmatrix(..) only after performing the command with(linalg) or with(linalg,geneqns) and with(linalg,genmatrix). These functions can always be accessed in the long form linalg[geneqns](..) or linalg[genmatrix](..).
Examples
See Also
linalg(deprecated)[linsolve], LinearAlgebra
Download Help Document