solve the linear equations A . x = b - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Education : Student Package : Linear Algebra : Computation : Solvers : Student/LinearAlgebra/LinearSolve

Student[LinearAlgebra][LinearSolve] - solve the linear equations A . x = b

Calling Sequence

LinearSolve(A, b, options)

Parameters

A

-

Matrix or list

b

-

(optional) column Vector

options

-

(optional) parameters; for a complete list, see LinearAlgebra[LinearSolve]

Description

• 

The LinearSolve command returns the Vector x that satisfies the linear system A.x=b.

  

If b is omitted, then the linear system is interpreted from the first argument, which is taken to be the augmented Matrix in which the last column provides the right-hand side data.

Examples

withStudent[LinearAlgebra]:

A:=1,2,3|4,5,6|7,8,0:

b:=3,2,2:

LinearSolveA,b

22313

(1)

M:=1,1,1,4|1,1,2,1|3,1,1,8|1,1,1,1|0,1,1,0:

M_sol:=LinearSolveM

M_sol:=25643522

(2)

M1..1,1..2.M_sol=M1..1,1

0110=0110

(3)

R:=1,2,3|4,5,7|7,8,9|10,11,12:

z:=3,2,0:

LinearSolveR,z

76+12_t1417632_t14_t14

(4)

See Also

LinearAlgebra[LinearSolve], Student[LinearAlgebra], Student[LinearAlgebra][BackwardSubstitute], Student[LinearAlgebra][GenerateMatrix], Student[LinearAlgebra][LeastSquares], Student[LinearAlgebra][LinearSolveTutor], Student[LinearAlgebra][LinearSystemPlot], Student[LinearAlgebra][LUDecomposition]


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