Student[LinearAlgebra] - Maple Programming Help

Online Help

All Products    Maple    MapleSim


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

Student[LinearAlgebra]

  

GenerateMatrix

  

generate the coefficient Matrix from linear equations

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

GenerateMatrix(eqns, vars, options)

Parameters

eqns

-

list or set of (linear) equations

vars

-

list or set of variables in which the equations occur

options

-

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

Description

• 

The GenerateMatrix(eqns, vars) command generates the augmented coefficient Matrix or coefficient Matrix and right hand side Vector from the linear system of equations eqns in the unknowns vars.  The augmented form is the default, and the last column of this Matrix is the right-hand side values from the original list of equations.

• 

The non-augmented form is returned if the result is assigned to two variables (see the second example below) or if the augmented = false option is provided.

Examples

withStudent[LinearAlgebra]:

sys3x1+2x2+3x32x4=1,x1+x2+x3=3,x1+2x2+x3x4=2:

varx1,x2,x3,x4:

GenerateMatrixsys,var

323211110312112

(1)

A,bGenerateMatrixsys,var

A,b:=323211101211,132

(2)

AGenerateMatrixsys,var

A:=323211110312112

(3)

See Also

LinearAlgebra[GenerateMatrix]

Student[LinearAlgebra]

Student[LinearAlgebra][GenerateEquations]

Student[LinearAlgebra][LinearSolve]

 


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