Go to the documentation of this file.
11 #ifndef vtk_m_worklet_ComputeNDEntropy_h
12 #define vtk_m_worklet_ComputeNDEntropy_h
37 template <
typename FreqType>
44 informationContent = 0;
51 #endif // vtk_m_worklet_ComputeNDEntropy_h
vtkm::Float64 FreqSum
Definition: ComputeNDEntropy.h:29
#define VTKM_EXEC
Definition: ExportMacros.h:51
Groups connected points that have the same field value.
Definition: Atomic.h:19
A control signature tag for output fields.
Definition: WorkletMapField.h:60
VTKM_EXEC void operator()(const FreqType &freq, vtkm::Float64 &informationContent) const
Definition: ComputeNDEntropy.h:38
Definition: ComputeNDEntropy.h:23
VTKM_EXEC_CONT vtkm::Float32 Log2(vtkm::Float32 x)
Computes the logarithm base 2 of x.
Definition: Math.h:1514
A control signature tag for input fields.
Definition: WorkletMapField.h:49
void(_1, _2) ExecutionSignature
Definition: ComputeNDEntropy.h:27
#define VTKM_CONT
Definition: ExportMacros.h:57
VTKM_CONT SetBinInformationContent(vtkm::Float64 _freqSum)
Definition: ComputeNDEntropy.h:32
double Float64
Definition: Types.h:155
void(FieldIn freq, FieldOut informationContent) ControlSignature
Definition: ComputeNDEntropy.h:26
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38