#8495: Regression: Many mathematica doctests now fail
--------------------------------------------------------+-------------------
Reporter: flawrence | Owner:
flawrence
Type: defect | Status:
needs_review
Priority: major | Milestone:
sage-4.7
Component: interfaces | Keywords:
Author: Felix Lawrence | Upstream: N/A
Reviewer: Mike Hansen, Burcin Erocal, David Kirkby | Merged:
Work_issues: |
--------------------------------------------------------+-------------------
Changes (by flawrence):
* status: needs_work => needs_review
Old description:
> Since #3587, which implements a _sage_() method for mathematica elements,
> many mathematica doctests fail. E.g:
>
> {{{
> sage: def math_bessel_K(nu,x):
> ... return mathematica(nu).BesselK(x).N(20).sage()
> ...
> sage: math_bessel_K(2,I)
> NotImplementedError: Unable to parse
> Mathematica output:
> -2.5928861754911969781676606702635284285719718407749199115289`20.1494653502
> 82203
> +
> 0.1804899720669620266296208808560650432663536549483055754141`18.99213497581
> 376*i
>
> }}}
>
> apply only `trac_8495-rewrite-_sage_.patch`
New description:
Since #3587, which implements a _sage_() method for mathematica elements,
many mathematica doctests fail. E.g:
{{{
sage: def math_bessel_K(nu,x):
... return mathematica(nu).BesselK(x).N(20).sage()
...
sage: math_bessel_K(2,I)
NotImplementedError: Unable to parse
Mathematica output:
-2.5928861754911969781676606702635284285719718407749199115289`20.1494653502
82203
+
0.1804899720669620266296208808560650432663536549483055754141`18.99213497581
376*i
}}}
apply only [attachment:trac_8495-rewrite-_sage_.2.patch]
--
Comment:
I made some minor formatting changes to the documentation to avoid the
above problems. The documentation now builds without errors and looks OK
on my machine.
I forgot to tick the 'replace attachment' box; please disregard the older
(non ".2.") patch.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8495#comment:25>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.