convert/numericproc - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Data Types : Conversion : convert/numericproc

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

gx,y→sinxyy3

g:=x,y→sinxyy3

(1)

fconvertg,numericproc

f:=procx,ylocalr;tryr:=evalhfgx,ycatch:end try;ifnottyper,'numeric'thentryr:=evalfgx,ycatch:end tryend if;iftyper,'numeric',r,'undefined'end proc

(2)

See Also

evalhf

plottools

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam