#19284: implement a parser for octave vectors
-------------------------------------+-------------------------------------
       Reporter:  chapoton           |        Owner:
           Type:  enhancement        |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.9
      Component:  interfaces:        |   Resolution:
  optional                           |    Merged in:
       Keywords:  octave             |    Reviewers:  Vincent Delecroix
        Authors:  Frédéric Chapoton  |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:  public/19284       |  b597ceb52fed43f6e62a246b977a1f0322b09892
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------
Changes (by vdelecroix):

 * status:  needs_info => needs_work
 * reviewer:   => Vincent Delecroix


Comment:

 Didn't you forgot `# optional - octave`? And what is the point of all
 these methods: `_equality_symbol`, `_true_symbol` and `_false_symbol`?

 For the choice of the ring, you need to get it from the octave side (and
 raise an error if you are not able to translate it to a Sage ring saying
 that the ring is not optional). There are builtin functions in octave
 - `isnumeric`
 - `isinteger` -> Sage `ZZ`?
 - `isfloat` -> Sage `RDF`?
 - `isreal` -> ?
 - `iscomplex` -> Sage `CDF`?
 And it would be better to test first with `isvector` if the octave object
 is actually a vector.

--
Ticket URL: <http://trac.sagemath.org/ticket/19284#comment:5>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to