Template Struct OwnedKernelDensityData
Defined in File KernelDensity.hpp
Inheritance Relationships
Base Type
public kden::OwnedKDTreeData< void >(Template Struct OwnedKDTreeData)
Struct Documentation
-
template<typename AuxType = void>
struct OwnedKernelDensityData : public kden::OwnedKDTreeData<void> Storage for a set of weighted points: owning vectors, viewed by a KernelDensityData.
Adds owned weights to OwnedKDTreeData; view() returns a KernelDensityData over the vectors, valid on the same terms.
- Template Parameters:
AuxType – As for KDTreeData
Public Functions
-
inline auto view() -> KernelDensityData<AuxType>
A view of these points.
- Returns:
A KernelDensityData viewing x_, aux_, and w_
Public Members
-
std::vector<double> w_
Weights, one per point