#15827: Fast check for linear dependence
-------------------------------------+-------------------------------------
Reporter: tscrim | Owner: tscrim
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.2
Component: linear algebra | Resolution:
Keywords: linear dependence | Merged in:
check | Reviewers:
Authors: Travis Scrimshaw | Work issues:
Report Upstream: N/A | Commit:
Branch: | c3e72445517e297998cf9adbdb13852b7e88acc0
public/linear_algebra/linear_dep_check-15827| Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Changes (by tscrim):
* status: new => needs_review
* commit: => c3e72445517e297998cf9adbdb13852b7e88acc0
* branch: => public/linear_algebra/linear_dep_check-15827
Comment:
There might be even faster algorithms out there, but this is much faster
than how I was doing it before:
{{{
sage: M = QQ^3
sage: vecs = [M([1,2,3]), M([4,5,6]), M([3,3,3])]
sage: %timeit len(M.linear_dependence(vecs)) > 0
100 loops, best of 3: 5.71 ms per loop
sage: %timeit M.are_linearly_dependent(vecs)
1000 loops, best of 3: 530 us per loop
}}}
----
New commits:
||[http://git.sagemath.org/sage.git/commit/?id=c3e72445517e297998cf9adbdb13852b7e88acc0
c3e7244]||{{{Added are_linearly_dependent.}}}||
--
Ticket URL: <http://trac.sagemath.org/ticket/15827#comment:1>
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/groups/opt_out.