diff --git a/README.md b/README.md index eb25bc7..f385741 100644 --- a/README.md +++ b/README.md @@ -2599,7 +2599,7 @@ right = [[0.1, 0.6, 0.8], [0.1, 0.6, 0.8], [0.1, 0.6, 0.8]] # Shape: (3, 3) <- ```python >>> points = np.array([0.1, 0.6, 0.8]) -[ 0.1, 0.6, 0.8] + [ 0.1, 0.6, 0.8] >>> wrapped_points = points.reshape(3, 1) [[ 0.1], [ 0.6], diff --git a/index.html b/index.html index 4497412..5cf41eb 100644 --- a/index.html +++ b/index.html @@ -2214,7 +2214,7 @@ right = [[0.1, 0.6 3. If neither non-matching dimension has size 1, rise an error.ExampleFor each point returns index of its nearest point ([0.1, 0.6, 0.8] => [1, 2, 1]):>>> points = np.array([0.1, 0.6, 0.8]) -[ 0.1, 0.6, 0.8] + [ 0.1, 0.6, 0.8] >>> wrapped_points = points.reshape(3, 1) [[ 0.1], [ 0.6],
[0.1, 0.6, 0.8] => [1, 2, 1]
>>> points = np.array([0.1, 0.6, 0.8]) -[ 0.1, 0.6, 0.8] + [ 0.1, 0.6, 0.8] >>> wrapped_points = points.reshape(3, 1) [[ 0.1], [ 0.6],