Opened 10 years ago

Last modified 8 years ago

#14277 new defect

Equality of symbolic expressions inside matrix

Reported by: Jan Groenewald Owned by: Burcin Erocal
Priority: major Milestone: sage-6.4
Component: symbolics Keywords: equality, simplify, matrix
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by Punarbasu Purkayastha)

From https://groups.google.com/forum/?fromgroups=#!topic/sage-devel/d25Dkwc0loA

sage: f = x*(x+1)
sage: g = x^2 + x
sage: bool(f == g)
True
sage: bool([f] == [g])
True
sage: bool(matrix([f]) == matrix([g]))
False

Change History (6)

comment:1 Changed 10 years ago by Punarbasu Purkayastha

Description: modified (diff)

comment:2 Changed 9 years ago by Jeroen Demeyer

Milestone: sage-5.11sage-5.12

comment:3 Changed 9 years ago by For batch modifications

Milestone: sage-6.1sage-6.2

comment:4 Changed 9 years ago by For batch modifications

Milestone: sage-6.2sage-6.3

comment:5 Changed 8 years ago by For batch modifications

Milestone: sage-6.3sage-6.4

comment:6 Changed 8 years ago by Ralf Stephan

Also,

sage: matrix([f]) - matrix([g])
[(x + 1)*x - x^2 - x]

but the fix for this might be different.

Note: See TracTickets for help on using tickets.