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

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Logic : Boolean : isdifferentiable

isdifferentiable

test for piecewise functions

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

isdifferentiable(expr, var, class)

isdifferentiable(expr, var, class, varparam)

Parameters

expr

-

expression

var

-

variable name

class

-

number n telling if the expr is in class Cn

varparam

-

(optional) name

Description

• 

isdifferentiable determines if the expression expr containing piecewise or piecewise functions such as abs, signum, max, ..., is of class C^ class.  It returns either true or false.

• 

The optional argument varparam can be passed to the function and in case expr is not of class Cn, varparam contains information of which Cn class the function is, and a list of points where we have discontinuities in the n+1-th derivative.

Examples

piecewisex<1&comma;x&comma;x<1&comma;xx&comma;x

xx<−1x2x<1xotherwise

(1)

isdifferentiable&comma;x&comma;1

false

(2)

isdifferentiable&comma;x&comma;2&comma;la

false

(3)

la

0,−1&comma;1

(4)

isdifferentiableabsx&comma;x&comma;2

false

(5)

isdifferentiableabsx&comma;x&comma;2&comma;la

false

(6)

la

0,0

(7)

See Also

convert/piecewise

dsolve/piecewise

piecewise

simplify/piecewise