 type/dependent - Maple Programming Help

# Online Help

###### All Products    Maple    MapleSim

Home : Support : Online Help : Programming : Data Types : Type Checking : Types : type/dependent

type/dependent

check for mathematical dependence

 Calling Sequence type(f, dependent(x))

Parameters

 f - expression or a list or set of expressions x - name or list or set of names

Description

 • Returns true if any of the expressions contained in f are mathematically dependent on any of the names contained in x
 • The definition of mathematical dependence is that used by depends. For more information, see depends.

Examples

 > $\mathrm{type}\left(x,\mathrm{dependent}\left(\left\{x,y\right\}\right)\right)$
 ${\mathrm{true}}$ (1)
 > $\mathrm{type}\left(\left[a,b\right],\mathrm{dependent}\left(\left[c,d\right]\right)\right)$
 ${\mathrm{false}}$ (2)
 > $\mathrm{type}\left({x}^{y},{\mathrm{identical}\left(x\right)}^{\mathrm{dependent}\left(x\right)}\right)$
 ${\mathrm{false}}$ (3)
 > $\mathrm{type}\left(\mathrm{int}\left(f\left(x\right),x=a..b\right),\mathrm{dependent}\left(x\right)\right)$
 ${\mathrm{false}}$ (4)
 > $\mathrm{type}\left(\mathrm{int}\left(f\left(x\right),x=a..b\right),\mathrm{dependent}\left(a\right)\right)$
 ${\mathrm{true}}$ (5)

 See Also