Opened 13 years ago

Closed 13 years ago

Last modified 11 months ago

#2386 closed defect (duplicate)

copy and pasting matrices doesn't work

Reported by: jason Owned by: mabshoff
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: porting: Cygwin Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

We should be able to somehow get a printout of a matrix that is suitable for pasting into an input cell.

I think that is what repr is supposed to do. Currently, repr is the same as str, which seems like a bug considering the python convention.

Change History (3)

comment:1 Changed 13 years ago by was

I think that is what repr is supposed to do. Currently, repr is the same as str, which seems like a bug considering the python convention.

SAGE blatantly and *systematically* does not follow that Python convention.

I am happy if we implement systematically a method _input_form_ (say -- after Mathematica's well chosen named InputForm?) for objects which returns -- if possible (sometimes it isn't!) -- an expression that sage_evals to that object.

Discuss!

comment:2 Changed 13 years ago by jason

  • Resolution set to duplicate
  • Status changed from new to closed

This would be part of #2387.

comment:3 Changed 11 months ago by mkoeppe

  • Milestone set to sage-duplicate/invalid/wontfix
  • Report Upstream set to N/A
Note: See TracTickets for help on using tickets.