Click or drag to resize
Accord.NET (logo)

KDTreeBaseTNodeCreateRoot Method

Namespace:  Accord.Collections
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
protected static TNode CreateRoot(
	double[][] points,
	bool inPlace,
	out int leaves
Request Example View Source


Type: SystemDouble
The data points to be inserted in the tree.
Type: SystemBoolean
Whether the given points vector can be ordered in place. Passing true will change the original order of the vector. If set to false, all operations will be performed on an extra copy of the vector.
Type: SystemInt32
Return the number of leaves in the Root subtree.

Return Value

Type: TNode
The Root node for a new KDTreeT contained the given points.
See Also