-
-
Notifications
You must be signed in to change notification settings - Fork 482
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Intersphinx for cvxopt, cvxpy, cypari2, cysignals, flint, fpylll, gmpy2, ipywidgets, matplotlib, mpmath, networkx, numpy, rpy2, scipy, sympy #37575
Changes from all commits
00e8b6f
cf0d818
48f95b9
4ff50cd
1c021dd
645377b
bf2879d
8de1104
3156b95
fb7fe0d
b3b47e2
1de4c58
1abd2f5
1bee07c
700e40f
b880a48
4c0c20c
b4fe463
363797b
99f4d0a
93b9987
a55ee28
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1336,9 +1336,9 @@ def export_to_file(self, filename, format=None, **kwds): | |
|
||
- ``format`` -- string (default: ``None``); select the output format | ||
explicitly. If set to ``None`` (default), the format is set to be the | ||
file extension of ``filename``. Admissible formats are: ``adjlist``, | ||
``dot``, ``edgelist``, ``gexf``, ``gml``, ``graphml``, | ||
``multiline_adjlist``, ``pajek``, ``yaml``. | ||
file extension of ``filename``. Admissible formats are: ``'adjlist'``, | ||
``'dot'``, ``'edgelist'``, ``'gexf'``, ``'gml'``, ``'graphml'``, | ||
``'multiline_adjlist'``, ``'pajek'``. | ||
|
||
- All other arguments are forwarded to the subfunction. For more | ||
information, see their respective documentation: | ||
|
@@ -1348,15 +1348,14 @@ def export_to_file(self, filename, format=None, **kwds): | |
:widths: 30, 70 | ||
:delim: | | ||
|
||
``adjlist`` | http://networkx.lanl.gov/reference/generated/networkx.readwrite.adjlist.write_adjlist.html | ||
``dot`` | https://networkx.github.io/documentation/latest/reference/generated/networkx.drawing.nx_pydot.write_dot.html | ||
``edgelist`` | http://networkx.lanl.gov/reference/generated/networkx.readwrite.edgelist.write_edgelist.html | ||
``gexf`` | http://networkx.lanl.gov/reference/generated/networkx.readwrite.gexf.write_gexf.html | ||
``gml`` | http://networkx.lanl.gov/reference/generated/networkx.readwrite.gml.write_gml.html | ||
``graphml`` | http://networkx.lanl.gov/reference/generated/networkx.readwrite.graphml.write_graphml.html | ||
``multiline_adjlist`` | http://networkx.lanl.gov/reference/generated/networkx.readwrite.multiline_adjlist.write_multiline_adjlist.html | ||
``pajek`` | http://networkx.lanl.gov/reference/generated/networkx.readwrite.pajek.write_pajek.html | ||
``yaml`` | http://networkx.lanl.gov/reference/generated/networkx.readwrite.nx_yaml.write_yaml.html | ||
``'adjlist'`` | :func:`networkx.readwrite.adjlist.write_adjlist` | ||
``'dot'`` | :func:`networkx.drawing.nx_pydot.write_dot` | ||
``'edgelist'`` | :func:`networkx.readwrite.edgelist.write_edgelist` | ||
``'gexf'`` | :func:`networkx.readwrite.gexf.write_gexf` | ||
``'gml'`` | :func:`networkx.readwrite.gml.write_gml` | ||
``'graphml'`` | :func:`networkx.readwrite.graphml.write_graphml` | ||
``'multiline_adjlist'`` | :func:`networkx.readwrite.multiline_adjlist.write_multiline_adjlist` | ||
``'pajek'`` | :func:`networkx.readwrite.pajek.write_pajek` | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. When I check on the deployed documentation, this link is not working There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this function simply does not exist any more in current versions of networkx. Is it tested anywhere? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is no longer in networkx (https://networkx.org/documentation/stable/reference/readwrite/index.html). It's not tested in method There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should I remove it here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done in a55ee28 |
||
.. SEEALSO:: | ||
|
||
|
@@ -1366,7 +1365,7 @@ def export_to_file(self, filename, format=None, **kwds): | |
.. NOTE:: | ||
|
||
This functions uses the ``write_*`` functions defined in NetworkX | ||
(see http://networkx.lanl.gov/reference/readwrite.html). | ||
(see :mod:`networkx.readwrite`). | ||
|
||
EXAMPLES:: | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -594,8 +594,8 @@ cdef class Matrix_double_dense(Matrix_numpy_dense): | |
|
||
ALGORITHM: | ||
|
||
Computation is performed by the ``norm()`` function of | ||
the SciPy/NumPy library. | ||
Computation is performed by the :func:`~scipy:scipy.linalg.norm` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. again, here we have a |
||
function of the SciPy/NumPy library. | ||
|
||
EXAMPLES: | ||
|
||
|
@@ -739,7 +739,7 @@ cdef class Matrix_double_dense(Matrix_numpy_dense): | |
ALGORITHM: | ||
|
||
The singular values come from the SVD decomposition | ||
computed by SciPy/NumPy. | ||
computed by SciPy/NumPy using :func:`scipy:scipy.linalg.svd`. | ||
|
||
EXAMPLES: | ||
|
||
|
@@ -1073,17 +1073,17 @@ cdef class Matrix_double_dense(Matrix_numpy_dense): | |
|
||
- ``'default'`` - applicable to any matrix | ||
with double-precision floating point entries. | ||
Uses the :meth:`~scipy.linalg.eigvals` method from SciPy. | ||
Uses the :func:`~scipy:scipy.linalg.eigvals` function from SciPy. | ||
|
||
- ``'symmetric'`` - converts the matrix into a real matrix | ||
(i.e. with entries from :class:`~sage.rings.real_double.RDF`), | ||
then applies the algorithm for Hermitian matrices. This | ||
algorithm can be significantly faster than the | ||
``'default'`` algorithm. | ||
|
||
- ``'hermitian'`` - uses the :meth:`~scipy.linalg.eigh` method | ||
from SciPy, which applies only to real symmetric or complex | ||
Hermitian matrices. Since Hermitian is defined as a matrix | ||
- ``'hermitian'`` - uses the :func:`~scipy:scipy.linalg.eigh` | ||
function from SciPy, which applies only to real symmetric or | ||
complex Hermitian matrices. Since Hermitian is defined as a matrix | ||
equaling its conjugate-transpose, for a matrix with real | ||
entries this property is equivalent to being symmetric. | ||
This algorithm can be significantly faster than the | ||
|
@@ -1707,6 +1707,10 @@ cdef class Matrix_double_dense(Matrix_numpy_dense): | |
Find a solution `X` to the equation `A X = B` if ``self`` is a square | ||
matrix `A`. | ||
|
||
ALGORITHM: | ||
|
||
Uses the function :func:`scipy:scipy.linalg.solve` from SciPy. | ||
|
||
TESTS:: | ||
|
||
sage: # needs sage.symbolic | ||
|
@@ -1730,6 +1734,10 @@ cdef class Matrix_double_dense(Matrix_numpy_dense): | |
Compute a least-squares solution `X` to the equation `A X = B` where | ||
``self`` is the matrix `A`. | ||
|
||
ALGORITHM: | ||
|
||
Uses the function :func:`scipy:scipy.linalg.lstsq` from SciPy. | ||
|
||
TESTS:: | ||
|
||
sage: A = matrix(RDF, 3, 2, [1, 3, 4, 2, 0, -3]) | ||
|
@@ -1754,7 +1762,7 @@ cdef class Matrix_double_dense(Matrix_numpy_dense): | |
|
||
ALGORITHM: | ||
|
||
Use numpy | ||
Uses :func:`scipy:scipy.linalg.det`. | ||
|
||
EXAMPLES:: | ||
|
||
|
@@ -2037,7 +2045,7 @@ cdef class Matrix_double_dense(Matrix_numpy_dense): | |
|
||
ALGORITHM: | ||
|
||
Calls "linalg.qr" from SciPy, which is in turn an | ||
Calls :func:`scipy:scipy.linalg.qr` from SciPy, which is in turn an | ||
interface to LAPACK routines. | ||
|
||
EXAMPLES: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure to understand the meaning of the
~
. Here we have:func:`~scipy:scipy.integrate.odeint`
, but line 1502 you use:func:`scipy:scipy.integrate.odeint`
. Why and why is it needed ?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
~
gives short links, such as "odeint()" instead of "scipy.integrate.odeint()"There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here I use it because the text already says from what module it comes.