Opened 10 years ago

Closed 10 years ago

#11711 closed enhancement (fixed)

Add charpoly as an alias for graph characteristic polynomials

Reported by: rbeezer Owned by: jason, ncohen, rlm
Priority: minor Milestone: sage-4.7.2
Component: graph theory Keywords: beginner
Cc: Merged in: sage-4.7.2.alpha3
Authors: Rob Beezer Reviewers: Nathann Cohen
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by rbeezer)

Throughout the linear algebra code, characteristic_polynomial() and charpoly() are aliases. Patch makes it so for graphs (their adjacency matrices, really).

See discussion at:


  1. trac_11711-graph-charpoly.patch

Attachments (1)

trac_11711-graph-charpoly.patch (1.8 KB) - added by rbeezer 10 years ago.

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by rbeezer

comment:1 Changed 10 years ago by rbeezer

  • Authors set to Rob Beezer
  • Description modified (diff)
  • Status changed from new to needs_review

comment:2 Changed 10 years ago by ncohen

  • Reviewers set to Nathann Cohen

Passes doctests and does nothing dangerous. The Graph class does not really need any new method right now (more than 250 already), but well :-D

This one's good to go :-)


comment:3 Changed 10 years ago by ncohen

  • Status changed from needs_review to positive_review

comment:4 Changed 10 years ago by leif

  • Merged in set to sage-4.7.2.alpha3
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.