mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-31 14:42:26 +02:00
Move linear algebra to linalg.scad
columns->column because the multiindex case is handled by submatrix and also it never occurs in the code.
This commit is contained in:
@@ -543,8 +543,8 @@ function vector_nearest(query, k, target) =
|
||||
"More results are requested than the number of points.")
|
||||
tgpts
|
||||
? let( tree = _bt_tree(target, count(len(target))) )
|
||||
columns(_bt_nearest( query, k, target, tree),0)
|
||||
: columns(_bt_nearest( query, k, target[0], target[1]),0);
|
||||
column(_bt_nearest( query, k, target, tree),0)
|
||||
: column(_bt_nearest( query, k, target[0], target[1]),0);
|
||||
|
||||
|
||||
//Ball tree nearest
|
||||
|
Reference in New Issue
Block a user