#19390: Update the documentation of Graph/DiGraph constructors
-------------------------+-------------------------------------------------
Reporter: | Owner:
ncohen | Status: needs_review
Type: | Milestone: sage-6.10
enhancement | Resolution:
Priority: major | Merged in:
Component: graph | Reviewers:
theory | Work issues:
Keywords: | Commit:
Authors: | 85bec44fea218b440c2bee16b3bd1f856b9afaca
Nathann Cohen | Stopgaps:
Report Upstream: N/A |
Branch: |
u/ncohen/19390 |
Dependencies: |
#19385 |
-------------------------+-------------------------------------------------
Comment (by dcoudert):
will be long to review...
in digraph.py
- {{{<http://en.wikipedia.org/wiki/Digraph_%28mathematics%29>`_.For a
collection}}} one space missing
- {{{``DiGraph({1: {2: 'a', 3:'b'} ,3:{2:'c'}})`` -- return a graph by}}}
a digraph. Same in several places
- {{{DiGraph(a_nonsquare_matrix)}}} an incidence matrix ?
- {{{edge `u,f` whenever ``f(u,v)`` is ``True``}}} -> edge `u,v`
- {{{``DiGraph(another_digraph)`` -- return a graph from a Sage graph,}}}
from a Sage graph or digraph ?
in graph.py
- {{{edge `u,f` whenever ``f(u,v)`` is ``True``}}} -> edge `u,v`
- {{{``Graph(another_graph)`` -- return a graph from a Sage graph,}}}
from a Sage graph or digraph ?
- {{{only the integers 0, ..., n-1, where n is the number of vertices.}}}
math mode around 0, ..., n-1 and n ?
may be more later ;)
--
Ticket URL: <http://trac.sagemath.org/ticket/19390#comment:2>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.