Opened 10 years ago

Last modified 8 years ago

#13660 needs_work enhancement

Auto convert matrices over RR/CC to RDF/CDF for eigenvalue/eigenvector computations

Reported by: ppurka Owned by: jason, was
Priority: major Milestone: sage-6.4
Component: linear algebra Keywords:
Cc: rbeezer Merged in:
Authors: Punarbasu Purkayastha Reviewers:
Report Upstream: N/A Work issues:
Branch: u/ppurka/ticket/13660 (Commits, GitHub, GitLab) Commit: f6732222f414b15da34d469f008e3b8399b7b297
Dependencies: Stopgaps:

Status badges

Description (last modified by ppurka)

This ticket implements the suggestion that was discussed in #12514. The idea is to be helpful to new users and coax them into doing the computations over the right fields.

Apply trac_13660-auto_convert_matrix_to_RDF_CDF.patch to devel/sage.

Attachments (1)

trac_13660-auto_convert_matrix_to_RDF_CDF.patch (9.6 KB) - added by ppurka 10 years ago.
apply to devel/sage

Download all attachments as: .zip

Change History (11)

Changed 10 years ago by ppurka

apply to devel/sage

comment:1 Changed 10 years ago by ppurka

  • Authors set to Punarbasu Purkayastha
  • Description modified (diff)
  • Status changed from new to needs_review

Patch attached. I haven't changed the LU and QR functions for two reasons:

  1. I don't quite know what to cache in those functions there.
  2. The behavior of RR and CC is already documented in those functions.

comment:2 Changed 10 years ago by ppurka

  • Cc rbeezer added

comment:3 Changed 9 years ago by jdemeyer

  • Milestone changed from sage-5.11 to sage-5.12

comment:4 Changed 9 years ago by ppurka

  • Branch set to u/ppurka/ticket/13660
  • Created changed from 10/27/12 17:15:40 to 10/27/12 17:15:40
  • Modified changed from 08/13/13 15:35:53 to 08/13/13 15:35:53

comment:5 Changed 9 years ago by ppurka

Added a git version of the patch. This is based on 6.1.beta5.

comment:6 Changed 9 years ago by pbruin

  • Commit set to f6732222f414b15da34d469f008e3b8399b7b297

This doesn't generalise to a RealField of higher precision. I would suggest PARI's mateigen() is a good preinvented wheel to use. It is not currently wrapped in Sage, but that would be easy to do.

New commits:

f673222auto convert matrices over RR and CC to RDF and CDF for eigenvalue/eigenvector computations

comment:7 Changed 9 years ago by ppurka

  • Status changed from needs_review to needs_work

comment:8 Changed 9 years ago by vbraun_spam

  • Milestone changed from sage-6.1 to sage-6.2

comment:9 Changed 8 years ago by vbraun_spam

  • Milestone changed from sage-6.2 to sage-6.3

comment:10 Changed 8 years ago by vbraun_spam

  • Milestone changed from sage-6.3 to sage-6.4
Note: See TracTickets for help on using tickets.