solve/linear - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Factorization and Solving Equations : solve : solve/linear

solve/linear

systems of linear equations

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

solve(eqns, vars)

Parameters

eqns

-

set or list of linear equations and inequations

vars

-

list of names (unknowns)

Description

• 

The linear system defined by eqns is solved for the unknowns vars. If a solution exists, the solution is returned as a list of equations. If the system is underdetermined, the solver will parametrize the solutions in terms of one or more of the unknowns.

• 

Currently, the solver uses a number of special algorithms in addition to ordinary Gaussian elimination. All algorithms are geared to large sparse systems though they also perform well on dense systems. The special algorithms (selected automatically) are for:

  

(a) rational coefficients, using a "primitive" fraction-free algorithm;

  

(b) floating-point coefficients, using Gaussian elimination with partial pivoting for stability;

  

(c) rational function coefficients over the rationals, more generally, an algebraic number field, using a "primitive" fraction-free algorithm.

Examples

solveax+by=3,xy=b,x,y

x=b2+3a+b,y=ab3a+b

(1)

solveIx+y=1,Ixy=2,x,y

x=32I,y=12

(2)

See Also

LinearAlgebra[LinearSolve]

solve[system]

SolveTools[Linear]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam