dot - Maple Help

# Online Help

###### All Products    Maple    MapleSim

type/.

check for an expression of type .

 Calling Sequence type(expr, .)

Parameters

 expr - any expression

Description

 • The type(expr, .) function checks for expressions that use . as a (non-commutative) multiplication operator. For more information about the . operator, see dot.

Supertypes

 •

Examples

 > $\mathrm{type}\left(3.2,\mathrm{.}\right)$
 ${\mathrm{false}}$ (1)
 > $\mathrm{type}\left(3·x,\mathrm{.}\right)$
 ${\mathrm{false}}$ (2)
 > $\mathrm{type}\left(a·b,\mathrm{.}\right)$
 ${\mathrm{true}}$ (3)
 > $V≔\mathrm{Vector}\left[\mathrm{row}\right]\left(\left[2,2\right]\right)$
 ${V}{≔}\left[\begin{array}{cc}{2}& {2}\end{array}\right]$ (4)
 > $M≔\mathrm{Matrix}\left(\left[\left[1,2\right],\left[3,4\right]\right]\right)$
 ${M}{≔}\left[\begin{array}{cc}{1}& {2}\\ {3}& {4}\end{array}\right]$ (5)
 > $\mathrm{type}\left(V·M,\mathrm{.}\right)$
 ${\mathrm{false}}$ (6)
 > $\mathrm{type}\left(\mathrm{\lambda }·M,\mathrm{.}\right)$
 ${\mathrm{true}}$ (7)

 See Also