Opened 6 years ago

Last modified 2 years ago

#15406 new enhancement

Add off-diagonal diagonal matrices

Reported by: kcrisman Owned by:
Priority: minor Milestone: sage-6.4
Component: linear algebra Keywords:
Cc: jason, rbeezer, mforets Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

That is, allow for some syntax so that one can construct a matrix like

sage: matrix([[0,0,0],[1,0,0],[0,1,0]])
[0 0 0]
[1 0 0]
[0 1 0]

using some variant on the diagonal matrix syntax. Apparently Matlab has this facility - see this ask.sagemath question.

Change History (4)

comment:1 Changed 5 years ago by vbraun_spam

  • Milestone changed from sage-6.1 to sage-6.2

comment:2 Changed 5 years ago by vbraun_spam

  • Milestone changed from sage-6.2 to sage-6.3

comment:3 Changed 5 years ago by vbraun_spam

  • Milestone changed from sage-6.3 to sage-6.4

comment:4 Changed 2 years ago by mforets

  • Cc mforets added
Note: See TracTickets for help on using tickets.