#17990: Matrix with Infinity
-------------------------------------+-------------------------------------
Reporter: virmaux | Owner:
Type: defect | Status: needs_review
Priority: major | Milestone: sage-6.6
Component: calculus | Resolution:
Keywords: InfinityRing, | Merged in:
matrix, days64 | Reviewers:
Authors: | Work issues:
Report Upstream: N/A | Commit:
Branch: | 270acabc1c9ab7ac116a188643fcc90a01c5043d
u/virmaux/matrix_with_infinity | Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Old description:
> Because there is no `is_zero` and `is_commutative` method for
> `InfinityRing`, a numerous methods fails for matrices with infinity
> elements.
>
> {{{
> sage: m = Matrix([Infinity])
> sage: m.nrows()
> 1
> sage: m.rows()
> ---------------------------------------------------------------------------
> AttributeError Traceback (most recent call
> last)
>
> [...]
> AttributeError: 'InfinityRing_class' object has no attribute 'is_zero'
> }}}
New description:
Because there is no `is_zero` and `is_commutative` method for
`InfinityRing`, a numerous methods fails for matrices with infinity
elements. This problem came up in relation with the ticket #17798.
{{{
sage: m = Matrix([Infinity])
sage: m.nrows()
1
sage: m.rows()
---------------------------------------------------------------------------
AttributeError Traceback (most recent call
last)
[...]
AttributeError: 'InfinityRing_class' object has no attribute 'is_zero'
}}}
--
Comment (by jipilab):
Coxeter matrices is an example of matrix where infinity is a possible
value. See #17798.
--
Ticket URL: <http://trac.sagemath.org/ticket/17990#comment:6>
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.