GenerateEquations - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Student[LinearAlgebra]

  

GenerateEquations

  

generate equations from the coefficient Matrix

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

GenerateEquations(A, v, B)

Parameters

A

-

 m⁢x⁢n Matrix

v

-

list; specifies the n unknowns

B

-

(optional) m⁢x⁢1 Vector

Description

• 

The GenerateEquations(A, v) command, generates a list of linear equations from the coefficient Matrix A, using the variable names given in v.

  

If the optional m⁢x⁢1 right-hand side Vector B is included in the calling sequence, then the list of linear equations is equivalent to the Matrix equation A·x=B, where the xi are equal to the corresponding vi.  In this case, v must specify exactly n unknowns.

  

If the optional right-hand side Vector B is omitted in the calling sequence, and v specifies exactly n unknowns, then the right-hand sides of the m linear equations are set to zero.  The list of equations is then equivalent to A·x=ZeroVector⁡m.

  

If the optional right-hand side Vector B is omitted in the calling sequence, and v specifies exactly n−1 unknowns, then the right-hand sides of the m linear equations are taken from the last column of the Matrix A.  That is, the Matrix A is treated as an augmented matrix. The list of equations is then equivalent to A1..−1,1..−2·x=A1..−1,−1.

Examples

> 

with⁡StudentLinearAlgebra:

> 

V≔1,2,3|4,5,6|7,8,0

V≔147258360

(1)
> 

GenerateEquations⁡V,x,y,z,0,−1,3

x+4⁢y+7⁢z=0,2⁢x+5⁢y+8⁢z=−1,3⁢x+6⁢y=3

(2)
> 

W≔1,2|3,4

W≔1324

(3)
> 

GenerateEquations⁡W|−3,2,a,b

a+3⁢b=−3,2⁢a+4⁢b=2

(4)

See Also

LinearAlgebra[GenerateEquations]

Student[LinearAlgebra]

Student[LinearAlgebra][GenerateMatrix]

Student[LinearAlgebra][LinearSolve]

Student[LinearAlgebra][ZeroVector]