solution only works for a 1d array
This commit is contained in:
@@ -236,7 +236,7 @@ np.sqrt(-1) == np.emath.sqrt(-1)
|
||||
|
||||
|
||||
|
||||
#### 50. How to find the closest value (to a given scalar) in an array? (★★☆)
|
||||
#### 50. How to find the closest value (to a given scalar) in a vector? (★★☆)
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user