dot - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

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(\mathrm{.}\left(3,x\right),\mathrm{.}\right)$
 ${\mathrm{false}}$ (2)
 > $\mathrm{type}\left(\mathrm{.}\left(a,b\right),\mathrm{.}\right)$
 ${\mathrm{true}}$ (3)
 > $V≔{\mathrm{Vector}}_{\mathrm{row}}\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(\mathrm{.}\left(V,M\right),\mathrm{.}\right)$
 ${\mathrm{false}}$ (6)
 > $\mathrm{type}\left(\mathrm{.}\left(\mathrm{λ},M\right),\mathrm{.}\right)$
 ${\mathrm{true}}$ (7)