Opened 12 years ago

Closed 11 years ago

#6761 closed defect (fixed)

[with patch, needs review] solve_left on a vector returns a matrix

Reported by: robertwb Owned by: was
Priority: major Milestone: sage-4.2.1
Component: linear algebra Keywords:
Cc: jason Merged in: sage-4.2.1.alpha0
Authors: Kwankyu Lee Reviewers: Robert Bradshaw
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

This is inconsistent with solve_right and contrary to the documentation.

sage: A = random_matrix(ZZ, 5)
sage: b = vector(ZZ, range(5))
sage: A.solve_left(b)
[    47/630  -233/1170       2/65     34/819 -5269/8190]
sage: A.solve_left(b).parent()
Full MatrixSpace of 1 by 5 dense matrices over Rational Field

Attachments (1)

trac_6761.patch (2.2 KB) - added by klee 11 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 11 years ago by jason

  • Cc jason added

Changed 11 years ago by klee

comment:2 Changed 11 years ago by klee

  • Authors set to Kwankyu Lee
  • Status changed from new to needs_review
  • Summary changed from solve_left on a vector returns a matrix to [with patch, needs review] solve_left on a vector returns a matrix

comment:3 Changed 11 years ago by robertwb

  • Status changed from needs_review to positive_review

Thanks!

comment:4 Changed 11 years ago by mhansen

  • Merged in set to sage-4.2.1.alpha0
  • Resolution set to fixed
  • Reviewers set to Robert Bradshaw
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.