<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/networkx.git/networkx/tests/test_convert_numpy.py, branch docdraft</title>
<subtitle>github.com: networkx/networkx.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/'/>
<entry>
<title>Change "non iso" to "noniso".</title>
<updated>2015-04-24T00:49:45+00:00</updated>
<author>
<name>chebee7i</name>
<email>chebee7i@gmail.com</email>
</author>
<published>2015-04-24T00:49:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=169c3c1ddb789fea42cf0ee5f94487e040964f85'/>
<id>169c3c1ddb789fea42cf0ee5f94487e040964f85</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Allows explicit conversion with parallel edges</title>
<updated>2015-01-21T03:30:26+00:00</updated>
<author>
<name>Jeffrey Finkelstein</name>
<email>jeffrey.finkelstein@gmail.com</email>
</author>
<published>2015-01-21T02:30:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=afc7f06b91cbf1313582cd577eb195aa04357c0c'/>
<id>afc7f06b91cbf1313582cd577eb195aa04357c0c</id>
<content type='text'>
Adds the `parallel_edges` keyword argument to the `from_numpy_matrix`
and `from_scipy_sparse_matrix`. This allows the user to specify whether
to interpret an integer matrix as parallel edges in a multigraph or
single weighted edges in a multigraph.

This restores the default behavior of these functions that was changed
by pull request #1305.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds the `parallel_edges` keyword argument to the `from_numpy_matrix`
and `from_scipy_sparse_matrix`. This allows the user to specify whether
to interpret an integer matrix as parallel edges in a multigraph or
single weighted edges in a multigraph.

This restores the default behavior of these functions that was changed
by pull request #1305.
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't add edges twice when converting from numpy</title>
<updated>2015-01-12T20:17:30+00:00</updated>
<author>
<name>Jeffrey Finkelstein</name>
<email>jeffrey.finkelstein@gmail.com</email>
</author>
<published>2014-12-18T17:47:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=f29fd4789f3e43012c4d76185d5df589d9af9240'/>
<id>f29fd4789f3e43012c4d76185d5df589d9af9240</id>
<content type='text'>
Previously in `from_scipy_sparse_matrix()` and `from_numpy_matrix()`, if
`create_using` were an undirected multigraph and the input matrix were
symmetric, the edge (u, v) and the edge (v, u) would be added
separately, thereby resulting in two parallel edges. This change makes
the function behave more intelligently: it now assumes that when the
input matrix is symmetric and `create_using` is undirected, the edge (u,
v) should be added only once.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously in `from_scipy_sparse_matrix()` and `from_numpy_matrix()`, if
`create_using` were an undirected multigraph and the input matrix were
symmetric, the edge (u, v) and the edge (v, u) would be added
separately, thereby resulting in two parallel edges. This change makes
the function behave more intelligently: it now assumes that when the
input matrix is symmetric and `create_using` is undirected, the edge (u,
v) should be added only once.
</pre>
</div>
</content>
</entry>
<entry>
<title>Allows parallel edges when converting from numpy.</title>
<updated>2014-12-17T20:55:44+00:00</updated>
<author>
<name>Jeffrey Finkelstein</name>
<email>jeffrey.finkelstein@gmail.com</email>
</author>
<published>2014-12-15T17:32:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=b672ee5163515202bc438490f6712a1dcabb0b94'/>
<id>b672ee5163515202bc438490f6712a1dcabb0b94</id>
<content type='text'>
Forces from_numpy_matrix() and from_scipy_sparse_matrix() to create a
multigraph with parallel edges if the input adjacency matrix has integer
entries and the `create_using` keyword argument is an instance of
`MultiGraph`. In this case, each positive integer entry in the adjacency
matrix is interpreted as the number of parallel edges, each with weight
1, joining two vertices. Otherwise, if any of these conditions is not
met, the function behaves as it previously did: an integer entry is
interpreted as the weight of a single edge joining the two vertices.

This is not a backwards compatible change: it changes the behavior of
the function if the input is an integer matrix and `create_using` is a
multigraph.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Forces from_numpy_matrix() and from_scipy_sparse_matrix() to create a
multigraph with parallel edges if the input adjacency matrix has integer
entries and the `create_using` keyword argument is an instance of
`MultiGraph`. In this case, each positive integer entry in the adjacency
matrix is interpreted as the number of parallel edges, each with weight
1, joining two vertices. Otherwise, if any of these conditions is not
met, the function behaves as it previously did: an integer entry is
interpreted as the weight of a single edge joining the two vertices.

This is not a backwards compatible change: it changes the behavior of
the function if the input is an integer matrix and `create_using` is a
multigraph.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixes for pypy compatibility.</title>
<updated>2011-09-11T22:40:05+00:00</updated>
<author>
<name>Aric Hagberg</name>
<email>aric.hagberg@gmail.com</email>
</author>
<published>2011-09-11T22:40:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=d855e55cd3d9fec803916e6b704562f4ce824647'/>
<id>d855e55cd3d9fec803916e6b704562f4ce824647</id>
<content type='text'>
Addresses #632
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Addresses #632
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove deprecated "from_whatever()" in favor of to_networkx_graph().</title>
<updated>2011-06-04T15:13:29+00:00</updated>
<author>
<name>Aric Hagberg</name>
<email>aric.hagberg@gmail.com</email>
</author>
<published>2011-06-04T15:13:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=44a7a17b0ba6849f23dce922bd7371528184a13f'/>
<id>44a7a17b0ba6849f23dce922bd7371528184a13f</id>
<content type='text'>
Tidy style in graph classes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Tidy style in graph classes.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add weight keyword to current_flow centrality  and spectrum functions.  Add tests.</title>
<updated>2011-05-20T17:18:17+00:00</updated>
<author>
<name>Dan Schult</name>
<email>dschult@colgate.edu</email>
</author>
<published>2011-05-20T17:18:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=6db7bc5ac0585b3e544155c43af4d7483582ff8d'/>
<id>6db7bc5ac0585b3e544155c43af4d7483582ff8d</id>
<content type='text'>
Could also be done for link_analysis routines and spring_layout routines.

Addresses #509
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Could also be done for link_analysis routines and spring_layout routines.

Addresses #509
</pre>
</div>
</content>
</entry>
<entry>
<title>Cleaned up import statements.</title>
<updated>2011-02-10T03:56:34+00:00</updated>
<author>
<name>Loïc Séguin-C.</name>
<email>loicseguin@gmail.com</email>
</author>
<published>2011-02-10T03:56:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=620d54fcfd881aaa262fb2a4ef350c312db83884'/>
<id>620d54fcfd881aaa262fb2a4ef350c312db83884</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Test multigraph to numpy matrix converter.</title>
<updated>2010-11-11T20:26:03+00:00</updated>
<author>
<name>Aric Hagberg</name>
<email>aric.hagberg@gmail.com</email>
</author>
<published>2010-11-11T20:26:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=e94d9135360af3b16cf61497ace8366c455127bb'/>
<id>e94d9135360af3b16cf61497ace8366c455127bb</id>
<content type='text'>
Addresses #464
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Addresses #464
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove spurious prints in tests.</title>
<updated>2010-10-05T03:42:26+00:00</updated>
<author>
<name>Aric Hagberg</name>
<email>aric.hagberg@gmail.com</email>
</author>
<published>2010-10-05T03:42:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/networkx.git/commit/?id=9ebbb243b71f3fd52aa869a9c45c29248e57efe8'/>
<id>9ebbb243b71f3fd52aa869a9c45c29248e57efe8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
