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

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

-

 mxn Matrix

v

-

list; specifies the n unknowns

B

-

(optional) mx1 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 mx1 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=ZeroVectorm.

  

If the optional right-hand side Vector B is omitted in the calling sequence, and v specifies exactly n1 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

withStudentLinearAlgebra:

V1,2,3|4,5,6|7,8,0

V147258360

(1)

GenerateEquationsV,x,y,z,0,1,3

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

(2)

W1,2|3,4

W1324

(3)

GenerateEquationsW|3,2,a,b

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

(4)

See Also

LinearAlgebra[GenerateEquations]

Student[LinearAlgebra]

Student[LinearAlgebra][GenerateMatrix]

Student[LinearAlgebra][LinearSolve]

Student[LinearAlgebra][ZeroVector]