numericproc - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


convert/numericproc

convert a symbolic function of two variables to a numeric function of two variables

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

convert( f, numericproc)

Parameters

f

-

function of two variables

Description

• 

Converts a function of two variables into a numeric function of two variables that uses evalhf for low precision numerical evaluation, if possible, evalf otherwise.

Examples

> 

g≔x,y↦sin⁡x⋅y−y3

g≔x,y↦sin⁡x⋅y−y3

(1)
> 

f≔convert⁡g,numericproc

f ≔ procx,ylocalr;tryr ≔ evalhf⁡g⁡x,ycatch:end try;ifnottype⁡r,'numeric'thentryr ≔ evalf⁡g⁡x,ycatch:end tryend if;if⁡type⁡r,'numeric',r,'undefined'end proc

(2)

See Also

evalhf

plottools