Changeset b5a47b8 in tol
- Timestamp:
- Jan 4, 2010, 7:50:18 PM (17 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 36977fc
- Parents:
- a20d52c
- File:
-
- 1 edited
-
tol/contrib/ANN/tolANN.cpp (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tol/contrib/ANN/tolANN.cpp
ra20d52c rb5a47b8 1 /* datgra.cpp: Real Grammar's arithmetic functions 2 GNU/TOL Language. 1 /* tolANN.cpp: API for ANN. 3 2 4 3 Copyright (C) 2003 - Bayes Decision, SL (Spain [EU]) … … 91 90 DefExtOpr(1, BDatANNKDTreeNew, "ANN.KDTree.New", 1, 1, "Matrix", 92 91 "(Matrix points)", 93 I2("Build a kd-tree and return its identifier. A kd-tree is a "92 I2("Build a kd-tree and return its identifier. A kd-tree is a " 94 93 "complex data structure useful to perform nearest neighbourhood " 95 94 "searches. When the kd-tree is not needed any more it should be " … … 103 102 "Vease tambien ANN.KDTree.Delete, ANN.KDTree.RSearch y " 104 103 "ANN.KDTree.KSearch"), 105 BOperClassify::MatrixAlgebra_);104 BOperClassify::MatrixAlgebra_); 106 105 //-------------------------------------------------- 107 106 void BDatANNKDTreeNew::CalcContens() … … 125 124 DeclareContensClass(BDat, BDatTemporary, BDatANNKDTreeDelete); 126 125 DefIntOpr(1, BDatANNKDTreeDelete, "ANN.KDTree.Delete", 1, 1, 127 "(Real kdtree)",128 I2("Release a kd-tree previously created with ANN.KDTree.New. "126 "(Real kdtree)", 127 I2("Release a kd-tree previously created with ANN.KDTree.New. " 129 128 "Returns 1 if success or 0 in case of fail.\n\n" 130 129 "See also ANN.KDTree.New, ANN.KDTree.RSearch and " … … 134 133 "Vease tambien ANN.KDTree.New, ANN.KDTree.RSearch y " 135 134 "ANN.KDTree.KSearch"), 136 BOperClassify::MatrixAlgebra_);135 BOperClassify::MatrixAlgebra_); 137 136 //-------------------------------------------------- 138 137 void BDatANNKDTreeDelete::CalcContens() … … 152 151 "Real Matrix Real", 153 152 "(Real kdtree, Matrix qpoints, Real k)", 154 I2("Computes for every point in qpoints the k nearest neighbors. "153 I2("Computes for every point in qpoints the k nearest neighbors. " 155 154 "The result is a Set containing two matrix: indices and dists." 156 155 "The matrix indices contains for each point the set of neighbors " … … 173 172 "Vease tambien ANN.KDTree.New, ANN.KDTree.Delete y " 174 173 "ANN.KDTree.RSearch"), 175 BOperClassify::MatrixAlgebra_);174 BOperClassify::MatrixAlgebra_); 176 175 //-------------------------------------------------- 177 176 void BSetANNKDTreeKSearch::CalcContens()
Note: See TracChangeset
for help on using the changeset viewer.
