 Student[LinearAlgebra] - Maple Programming Help

# Online Help

###### All Products    Maple    MapleSim

Home : Support : Online Help : Education : Student Packages : Linear Algebra : Computation : Queries : Student/LinearAlgebra/Equal

Student[LinearAlgebra]

 Equal
 compare two Vectors or two Matrices for equality

 Calling Sequence Equal(A, B, options)

Parameters

 A - Matrix or Vector B - Matrix or Vector options - (optional) parameters; for a complete list, see LinearAlgebra[Equal]

Description

 • The Equal(A, B) returns true if A and B are both Matrices or both Vectors and they have the same:
 - dimensions
 - entries, and
 - (if they are Vectors), orientation.

Examples

 > $\mathrm{with}\left(\mathrm{Student}\left[\mathrm{LinearAlgebra}\right]\right):$
 > $\mathrm{Equal}\left(⟨a,b⟩,⟨a,b⟩\right)$
 ${\mathrm{true}}$ (1)
 > $\mathrm{Equal}\left(⟨a|b⟩,⟨a,b⟩\right)$
 ${\mathrm{false}}$ (2)
 > $\mathrm{Equal}\left(⟨⟨1,2⟩|⟨3,4⟩⟩,⟨⟨1.,2⟩|⟨3,4⟩⟩\right)$
 ${\mathrm{true}}$ (3)
 > $\mathrm{Equal}\left(⟨a,b⟩,⟨⟨a,b⟩⟩\right)$
 ${\mathrm{false}}$ (4)

 See Also