Close
Close window
linear - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

solve/linear

systems of linear equations

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=3I2,y=12

(2)


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /