15.12.2012 Views

scipy tutorial - Baustatik-Info-Server

scipy tutorial - Baustatik-Info-Server

scipy tutorial - Baustatik-Info-Server

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

[2, 4],<br />

[2, 5],<br />

[2, 6],<br />

[2, 7],<br />

[3, 2],<br />

[3, 3],<br />

[3, 4],<br />

[3, 5],<br />

[3, 6],<br />

[3, 7],<br />

[4, 2],<br />

[4, 3],<br />

[4, 4],<br />

[4, 5],<br />

[4, 6],<br />

[4, 7]])<br />

>>> pts = np.array([[0, 0], [2.1, 2.9]])<br />

>>> tree.query(pts)<br />

(array([ 2. , 0.14142136]), array([ 0, 13]))<br />

query_ball_point(x, r, p=2.0, eps=0)<br />

Find all points within r of x<br />

Parameters<br />

x : array_like, shape tuple + (self.m,)<br />

The point or points to search for neighbors of<br />

r : positive float<br />

The radius of points to return<br />

p : float 1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!