MTM
Calling Sequence
Description
List of MTM Package Commands
Notes
Examples
MTM:-command(arguments)
command(arguments)
The MTM package is a collection of Maple commands to support the Maple Toolbox.
The commands in the MTM package are useful by themselves inside Maple without MATLAB®. Some of the commands are relatively simple front ends to the standard Maple commands. For instance, MTM:-sin is the same as sin, except that MTM:-sin(A) will map over the elements of A when A is an array. Other commands, such as MTM:-vertcat, offer new functionality: vertcat provides an easy way to combine arrays.
All commands in this package work with table-based sparse arrays as well as rtable-based dense Arrays in addition to scalar values and symbolic expressions.
Boolean-valued functions in this package typically operate with 1 and 0 as the true/false values.
The following is a list of commands available in the MTM package:
abs
array_dims
bessel
beta
betaln
ccode
ceil
coeffs
collect
colspace
compose
conj
cosint
ctranspose
det
diag
diff
digits
dirac
disp
double
dsolve
eig
ElementwiseAnd
ElementwiseNot
ElementwiseOr
end
eq
erf
exp
expand
expint
expm
expm1
eye
ezcontour
ezmesh
ezmeshc
ezplot
ezplot3
ezpolar
ezsurf
ezsurfc
factor
findsym
finverse
fix
floor
fortran
fourier
frac
full
gamma
gammaln
gcd
ge
gt
heaviside
horner
horzcat
hypergeom
ifourier
ilaplace
imag
int
integer
inv
isreal
iztrans
jacobian
jordan
lambertw
laplace
latex
lcm
ldivide
le
limit
log
log10
log1p
log2
lt
Map
mfun
Minus
mldivide
Mod
mpower
mrdivide
mtimes
ne
null
numden
numel
plus
poly
poly2sym
power
procread
prod
quorem
rank
rdivide
real
round
rref
simple
simplify
single
sinint
size
solve
sort
sqrt
struct
subs
subsasgn
subsref
sum
svd
sym2poly
symsum
taylor
times
transpose
trigonometry
tril
triu
unwrap
vertcat
vpa
zeta
Zip
ztrans
Since the MTM package uses names that are the same as many top-level Maple commands, users should be careful after executing with(MTM). Some commands inside MTM behave differently or accept a different calling sequence than the top-level commands of the same name.
A≔Array⁡1,2,3
A≔123
B≔Array⁡4,5,6
B≔456
C≔MTM:-vertcat⁡A,B
C≔123456
r1≔MTM:-sin⁡C
r1≔sin⁡1sin⁡2sin⁡3sin⁡4sin⁡5sin⁡6
r2≔MTM:-cos⁡MTM:-plus⁡C,3⁢π2
r2≔sin⁡1sin⁡2sin⁡3sin⁡4sin⁡5sin⁡6
MTM:-eq⁡r1,r2
111111
MTM:-double⁡r1
0.8414709848078970.9092974268256820.141120008059867−0.756802495307928−0.958924274663138−0.279415498198926
See Also
about/MapleToolbox
Matlab
trademark
Download Help Document