Go to the documentation of this file.
10 #ifndef vtk_m_count_ArrayHandleRandomStandardNormal_h
11 #define vtk_m_count_ArrayHandleRandomStandardNormal_h
40 template <
typename Real = vtkm::Float64>
43 vtkm::cont::ArrayHandleZip<vtkm::cont::ArrayHandleRandomUniformReal<Real>,
44 vtkm::cont::ArrayHandleRandomUniformReal<Real>>,
60 SeedType seed = { std::random_device{}() })
62 UniformReal{ length, { ~seed[0] } }),
69 #endif // vtk_m_count_ArrayHandleRandomStandardNormal_h
VTKM_EXEC_CONT vtkm::Float32 Sqrt(vtkm::Float32 x)
Compute the square root of x.
Definition: Math.h:958
Groups connected points that have the same field value.
Definition: Atomic.h:19
VTKM_EXEC_CONT vtkm::Float32 Cos(vtkm::Float32 x)
Compute the cosine of x.
Definition: Math.h:269
#define VTKM_ARRAY_HANDLE_SUBCLASS(classname, fullclasstype, superclass)
Macro to make default methods in ArrayHandle subclasses.
Definition: ArrayHandle.h:226
#define VTKM_EXEC_CONT
Definition: ExportMacros.h:52
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
ArrayHandleZip is a specialization of ArrayHandle.
Definition: ArrayHandleZip.h:251
VTKM_CONT vtkm::cont::ArrayHandleZip< FirstHandleType, SecondHandleType > make_ArrayHandleZip(const FirstHandleType &first, const SecondHandleType &second)
A convenience function for creating an ArrayHandleZip.
Definition: ArrayHandleZip.h:288
FirstType first
The pair's first object.
Definition: Pair.h:50
ArrayHandleRandomStandardNormal(vtkm::Id length, SeedType seed={ std::random_device{}() })
Definition: ArrayHandleRandomStandardNormal.h:59
A short fixed-length array.
Definition: Types.h:767
float Float32
Definition: Types.h:154
double Float64
Definition: Types.h:155
Definition: ArrayHandleRandomStandardNormal.h:41
#define VTKM_ALWAYS_EXPORT
Definition: ExportMacros.h:92
VTKM_EXEC_CONT vtkm::Float32 Log(vtkm::Float32 x)
Computes the natural logarithm of x.
Definition: Math.h:1455
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