convert/setofequations
convert a matrix equality into a set of equations
convert/listsofequations
convert a matrix equality into a list of equations
Calling Sequence
Parameters
Description
Examples
convert(E, setofequations)
convert(E, listofequations)
E
-
any Maple object, typically a Matrix, a Vector, possibly from the Physics:-Vectors package, or an expression or equation involving them
The convert/setofequations function converts an equality between matrices into a set of equations equating the matrix components, or an equality between Vectors, typically from the Physics:-Vectors package, into an set of equations for the components of these vectors. When only one object (Matrix or vector) is passed, in the set of equations returned all the components are equated to 0.
The convert/listofequations works the same way as convert/setofequations but the output is a list instead of a set. In the case of an equation of matrices, the list is ordered from line to columns (see the Examples).
M,N≔Matrix⁡3,symbol=m,Matrix⁡3,symbol=n
M,N≔m1,1m1,2m1,3m2,1m2,2m2,3m3,1m3,2m3,3,n1,1n1,2n1,3n2,1n2,2n2,3n3,1n3,2n3,3
convert⁡M=N,setofequations
m1,1=n1,1,m1,2=n1,2,m1,3=n1,3,m2,1=n2,1,m2,2=n2,2,m2,3=n2,3,m3,1=n3,1,m3,2=n3,2,m3,3=n3,3
convert⁡M=N,listofequations
m1,1=n1,1,m2,1=n2,1,m3,1=n3,1,m1,2=n1,2,m2,2=n2,2,m3,2=n3,2,m1,3=n1,3,m2,3=n2,3,m3,3=n3,3
When a single matrix is passed, each element is equated to 0 and the related set or list is returned.
convert⁡M,listofequations
m1,1=0,m1,2=0,m1,3=0,m2,1=0,m2,2=0,m2,3=0,m3,1=0,m3,2=0,m3,3=0
Converting vectorial equations:
V1≔a,b,c
V1≔abc
V2≔A,B,C
V2≔ABC
convert⁡V1=V2,setofequations
a=A,b=B,c=C
Vectorial equations with vectors of the Physics package are also handled:
with⁡Physics:-Vectors:Setup⁡mathematicalnotation=true:
A_≔Ax⁢_i+Ay⁢_j+Az⁢_k
A→≔Ax⁢i∧+Ay⁢j∧+Az⁢k∧
B_≔Bx⁢_i+By⁢_j+bz⁢_k
B→≔Bx⁢i∧+By⁢j∧+bz⁢k∧
convert⁡A_=B_,setofequations
Ax=Bx,Ay=By,Az=bz
See Also
convert
list
Matrix
Physics
Physics:-Vectors
set
Vector
Download Help Document