LinearAlgebra - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Linear Algebra : LinearAlgebra Package : Solvers : LinearAlgebra/GaussianElimination

LinearAlgebra

  

GaussianElimination

  

perform Gaussian elimination on a Matrix

  

ReducedRowEchelonForm

  

perform Gauss-Jordan elimination on a Matrix

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

GaussianElimination(A, m, options)

ReducedRowEchelonForm(A, options)

Parameters

A

-

Matrix

m

-

(optional) equation of the form method = name where name is one of 'GaussianElimination', or 'FractionFree'; method used to factorize A

options

-

(optional); constructor options for the result object

Description

• 

The GaussianElimination(A) command performs Gaussian elimination on the Matrix A and returns the upper triangular factor U with the same dimensions as A.

  

This function is equivalent to calling LinearAlgebra[LUDecomposition] with the output=['U'] option.

• 

The ReducedRowEchelonForm(A) command performs Gauss-Jordan elimination on the Matrix A and returns the unique reduced row echelon form R of A.

  

This function is equivalent to calling LinearAlgebra[LUDecomposition] with the output=['R'] option.

• 

The constructor options provide additional information (readonly, shape, storage, order, datatype, and attributes) to the Matrix constructor that builds the result. These options may also be provided in the form outputoptions=[...], where [...] represents a Maple list.  If a constructor option is provided in both the calling sequence directly and in an outputoptions option, the latter takes precedence (regardless of the order).

• 

These functions are part of the LinearAlgebra package, and so it can be used in the form GaussianElimination(..) or ReducedRowEchelonForm(..) only after executing the command with(LinearAlgebra). However, it can always be accessed through the long form of the command by using LinearAlgebra[GaussianElimination](..) or LinearAlgebra[ReducedRowEchelonForm](..).

Examples

withLinearAlgebra:

A8,3,1,5|4,5,0,2|5,8,3,1|5,5,4,9

A:=8455358510345219

(1)

b4,0,8,5

b:=4085

(2)

GaussianEliminationA

845501327985580016352213520002607163

(3)

GaussianEliminationA,'method'='FractionFree'

84550527955001632130002607

(4)

ReducedRowEchelonFormA|b

10001715260701003668260700101345869000117592607

(5)

See Also

LinearAlgebra[LUDecomposition]

Matrix

type[BooleanOpt]

Vector

 


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