Go to the documentation of this file.
11 #ifndef vtk_m_worklet_NDimsEntropy_h
12 #define vtk_m_worklet_NDimsEntropy_h
42 template <
typename HandleType>
57 std::vector<vtkm::cont::ArrayHandle<vtkm::Id>> binIds;
70 setBinInformationContentDispatcher(binWorklet);
71 setBinInformationContentDispatcher.Invoke(freqs, informationContent);
88 #endif // vtk_m_worklet_NDimsEntropy_h
Groups connected points that have the same field value.
Definition: Atomic.h:19
vtkm::worklet::NDimsHistogram NdHistogram
Definition: NDimsEntropy.h:82
void SetNumOfDataPoints(vtkm::Id _numDataPoints)
Definition: NDimsEntropy.h:33
void SetNumOfDataPoints(vtkm::Id _numDataPoints)
Definition: NDimsHistogram.h:35
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
Definition: ComputeNDEntropy.h:23
void AddField(const HandleType &fieldArray, vtkm::Id numberOfBins)
Definition: NDimsEntropy.h:43
Binary Predicate that takes two arguments argument x, and y and returns sum (addition) of the two val...
Definition: BinaryOperators.h:33
Dispatcher for worklets that inherit from WorkletMapField.
Definition: DispatcherMapField.h:25
vtkm::Id NumDataPoints
Definition: NDimsEntropy.h:83
void Run(std::vector< vtkm::cont::ArrayHandle< vtkm::Id >> &binId, vtkm::cont::ArrayHandle< vtkm::Id > &freqs)
Definition: NDimsHistogram.h:99
vtkm::Float64 Run()
Definition: NDimsEntropy.h:55
Definition: NDimsHistogram.h:32
static VTKM_CONT U Reduce(vtkm::cont::DeviceAdapterId devId, const vtkm::cont::ArrayHandle< T, CIn > &input, U initialValue)
Definition: Algorithm.h:656
void AddField(const HandleType &fieldArray, vtkm::Id numberOfBins, vtkm::Range &rangeOfValues, vtkm::Float64 &binDelta)
Definition: NDimsHistogram.h:48
double Float64
Definition: Types.h:155
Definition: NDimsEntropy.h:30
Represent a continuous scalar range of values.
Definition: Range.h:31