|
From: | Colin Macdonald |
Subject: | Re: Support for N-dimensional arrays almost done |
Date: | Mon, 31 Jul 2017 09:29:33 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
On 2017-07-31 01:21 AM, Joel Dahne wrote:
Hi, Thanks for the quick reply. The merge went well! I completely missed the .* vs *, was to focused on the newline, changing that it works. But since there are two active version out there I'm not sure which one we should use, I will leave it as it is for now.
Just FYI, "2*x.*y" is the current output from Symbolic for "function_handle(2*x*y)".
This is a doctest right? You can protect your test from old versions like: ## @example ## @c doctest: +SKIP_IF(compare_versions (sympref('version'), '2.5.0', '<')) ## ... ## @end example (Note this needs latest doctest-0.5.0)Background: old versions of Symbolic/SymPy used the Octave command "vectorize" (which gives "2.*x.*y") but these days SymPy does the Octave code generation for us.
Colin
[Prev in Thread] | Current Thread | [Next in Thread] |