Go to the documentation of this file.
10 #ifndef vtk_m_count_ArrayHandleRandomStandardNormal_h
11 #define vtk_m_count_ArrayHandleRandomStandardNormal_h
56 template <
typename Real = vtkm::Float64>
59 vtkm::cont::ArrayHandleZip<vtkm::cont::ArrayHandleRandomUniformReal<Real>,
60 vtkm::cont::ArrayHandleRandomUniformReal<Real>>,
83 SeedType seed = { std::random_device{}() })
85 UniformReal{ length, { ~seed[0] } }),
92 #endif // vtk_m_count_ArrayHandleRandomStandardNormal_h
Groups connected points that have the same field value.
Definition: Atomic.h:19
vtkm::Float32 Sqrt(vtkm::Float32 x)
Definition: Math.h:943
#define VTKM_ARRAY_HANDLE_SUBCLASS(classname, fullclasstype, superclass)
Macro to make default methods in ArrayHandle subclasses.
Definition: ArrayHandle.h:243
#define VTKM_EXEC_CONT
Definition: ExportMacros.h:52
vtkm::cont::ArrayHandleZip< FirstHandleType, SecondHandleType > make_ArrayHandleZip(const FirstHandleType &first, const SecondHandleType &second)
A convenience function for creating an ArrayHandleZip.
Definition: ArrayHandleZip.h:290
ArrayHandleZip is a specialization of ArrayHandle.
Definition: ArrayHandleZip.h:253
FirstType first
The pair's first object.
Definition: Pair.h:50
vtkm::Int64 Id
Base type to use to index arrays.
Definition: Types.h:227
ArrayHandleRandomStandardNormal(vtkm::Id length, SeedType seed={ std::random_device{}() })
Construct an ArrayHandleRandomStandardNormal.
Definition: ArrayHandleRandomStandardNormal.h:82
A short fixed-length array.
Definition: Types.h:357
vtkm::Float32 Log(vtkm::Float32 x)
Definition: Math.h:1456
float Float32
Base type to use for 32-bit floating-point numbers.
Definition: Types.h:157
double Float64
Base type to use for 64-bit floating-point numbers.
Definition: Types.h:161
An ArrayHandle that provides a source of random numbers with a standard normal distribution.
Definition: ArrayHandleRandomStandardNormal.h:57
#define VTKM_ALWAYS_EXPORT
Definition: ExportMacros.h:89
vtkm::Float32 Cos(vtkm::Float32 x)
Definition: Math.h:227
A vtkm::Pair is essentially the same as an STL pair object except that the methods (constructors and ...
Definition: Pair.h:29
SecondType second
The pair's second object.
Definition: Pair.h:55