On Thu, Jan 26, 2012 at 10:13 AM, Robert Bradshaw
<rober...@math.washington.edu> wrote:
> To get a quick sense of what people think about this, I've decided to
> rephrase this as a survey.  To be clear, though this coincides with
> Matlab syntax, the intent is not to try to make Sage a Matlab clone,
> rather it is to add a missing feature to Sage.
>
> Should [a, b; c, d] be a valid syntax for matrix construction in Sage?
>
[x] Yes, I love this syntax! It would be make life better for me

> Should the default basering be more linear-algebra friendly? E.g. R ->
> Frac(R), RR -> RDF.
>
[x] Yes, that would take away a lot of pain/be what I'd have to
specify manually anyway.

It would be nice to be able to specify a type.  Perhaps

R.[1,2,3;2,3,4] -> Matrix(R,[[1,2,3],[2,3,4]])

or perhaps even

R[1,2,3;2,3,4]


>
>
> On Thu, Jan 26, 2012 at 6:12 AM, Jason Grout
> <jason-s...@creativetrax.com> wrote:
>> On 1/26/12 7:54 AM, Marco Streng wrote:
>>>
>>> 2012/1/26 Jason Grout<jason-s...@creativetrax.com>:
>>>>
>>>> That's part of the problem pointed out in an earlier message---our RR
>>>> matrices really are pretty bad for numerical things, but RDF matrices are
>>>> the way to go (the RDF matrices use standard numerical algorithms for the
>>>> most part, whereas RR matrices use naive algorithms that can be really
>>>> bad
>>>> and slow).  This should be fixed, but for right now, RR matrices don't
>>>> seem
>>>> to be all that useful compared to RDF matrices.
>>>
>>>
>>> Is RDF always better than 53-bit RR in this way? If so, perhaps
>>> "RealNumber" or the preparser could be changed to use RDF if the
>>> precision is sufficiently small. Most users typing 12.345 will want
>>> the fastest implementation and not something generic.
>>
>>
>> No, this is a linear algebra problem, not a general problem in Sage. Usually
>> RR is better mathematically than RDF.
>>
>> Thanks,
>>
>> Jason
>>
>>
>>
>>
>> --
>> To post to this group, send an email to sage-devel@googlegroups.com
>> To unsubscribe from this group, send an email to
>> sage-devel+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/sage-devel
>> URL: http://www.sagemath.org
>
> --
> To post to this group, send an email to sage-devel@googlegroups.com
> To unsubscribe from this group, send an email to 
> sage-devel+unsubscr...@googlegroups.com
> For more options, visit this group at 
> http://groups.google.com/group/sage-devel
> URL: http://www.sagemath.org

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to