#17567: Cross product matrix (hat operator)
-------------------------+-------------------------------------------------
Reporter: | Owner:
gagern | Status: needs_review
Type: | Milestone: sage-6.5
enhancement | Resolution:
Priority: major | Merged in:
Component: | Reviewers: Travis Scrimshaw
linear algebra | Work issues:
Keywords: | Commit:
Authors: | 6db8fb0c0e1ed4eb334d059a749d3c45c7adcb94
Martin von Gagern | Stopgaps:
Report Upstream: N/A |
Branch: |
u/tscrim/17567 |
Dependencies: |
-------------------------+-------------------------------------------------
Comment (by jdemeyer):
Replying to [comment:8 tscrim]:
> In the same vein, I'm not sure an `ArithmeticError` is the proper type
of error as no arithmetic is being performed in contrast with
`cross_product`. I'm thinking this should actually be a `ValueError`
I would argue for `TypeError` actually. In Sage, `TypeError` is usually
given for objects from the wrong parent. For example
{{{
sage: vector([1,2]) + vector([1,2,3])
---------------------------------------------------------------------------
TypeError Traceback (most recent call
last)
...
TypeError: unsupported operand parent(s) for '+': 'Ambient free module of
rank 2 over the principal ideal domain Integer Ring' and 'Ambient free
module of rank 3 over the principal ideal domain Integer Ring'
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/17567#comment:9>
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.