help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Symbolic Expression Error


From: Shamika Mohanan
Subject: Symbolic Expression Error
Date: Thu, 3 Sep 2015 15:10:51 +0530

For the code below-

in(0) = octave_value ("x");
octave_value_list out =feval ("sym", in, 1);
std::cout << out(0).string_value()<< std::endl;

I get the following output-

OctSymPy v2.2.2: this is free software without warranty, see source. Initializing communication with SymPy using a popen2() pipe. Some output from the Python subprocess (pid 7459) might appear next. Python 2.7.6 (default, Jun 22 2015, 17:58:13)  [GCC 4.8.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> >>> Waiting.... 

OctSymPy: Communication established.  SymPy v0.7.6. error: octave_base_value::double_value (): wrong type argument 'class' error: octave_base_value::int_value (): wrong type argument 'class' error: octave_base_value::convert_to_str_internal (): wrong type argument 'class'

I have two questions-

1. How do I resolve the error?
2. Is it possible to get the output without the initial messages?

Shamika



reply via email to

[Prev in Thread] Current Thread [Next in Thread]