symbolic and codgen warning

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

symbolic and codgen warning

Doug Stewart-4
fucn_sym1 = (sym)

   4
  x

warning: function_handle: your SymPy has no octave codegen: partial workaround
warning: called from
    function_handle at line 155 column 11
    demo_input_functions at line 18 column 2
f =

@(x) x .^ 4

warning: function_handle: your SymPy has no octave codegen: partial workaround
df =

@(x) 4 .* x .^ 3

warning: function_handle: your SymPy has no octave codegen: partial workaround
ddf =

@(x) 12 .* x .^ 2

>>


What is the cause of this warning?


--
DASCertificate for 206392

Reply | Threaded
Open this post in threaded view
|

Re: symbolic and codgen warning

Colin Macdonald
On 20/09/15 14:10, Doug Stewart wrote:
> warning: function_handle: your SymPy has no octave codegen: partial
> workaround
>
> What is the cause of this warning?

It means SymPy is too old---SymPy 0.7.6 can generate Octave code from
symbolic expressions, and function_handle needs this feature.

Colin






signature.asc (484 bytes) Download Attachment