Fermat
Public Types | Public Methods | Public Members | List of all members
cugar::CP_rotated_sequence< Sample_sequence, Iterator > Struct Template Reference

Detailed description

template<typename Sample_sequence, typename Iterator = const float*>
struct cugar::CP_rotated_sequence< Sample_sequence, Iterator >

Wrapper class to rotate the samples coming from a sample sequence with a set of Cranley-Patterson rotations.

#include <cp_rotations.h>

Public Types

typedef CP_rotator< typename Sample_sequence::Sampler_type, Iterator > Sampler_type
 

Public Methods

CUGAR_HOST_DEVICE CP_rotated_sequence (Sample_sequence &sequence, const uint32 dims, Iterator rot, uint32 size)
 
Sampler_type CUGAR_HOST_DEVICE instance (const uint32 index, const uint32 copy) const
 

Public Members

Sample_sequence & m_sequence
 
Iterator m_rot
 
uint32 m_size
 
uint32 m_dims
 

Constructor & Destructor Documentation

◆ CP_rotated_sequence()

template<typename Sample_sequence , typename Iterator = const float*>
CUGAR_HOST_DEVICE cugar::CP_rotated_sequence< Sample_sequence, Iterator >::CP_rotated_sequence ( Sample_sequence &  sequence,
const uint32  dims,
Iterator  rot,
uint32  size 
)
inline

constructor

Parameters
sequencesample sequence
dimsdimensionality of the sequence
rotrotation set
sizesize of the rotation set

Member Function Documentation

◆ instance()

template<typename Sample_sequence , typename Iterator = const float*>
Sampler_type CUGAR_HOST_DEVICE cugar::CP_rotated_sequence< Sample_sequence, Iterator >::instance ( const uint32  index,
const uint32  copy 
) const
inline

instance

Parameters
indexsequence index
copysequence instance

The documentation for this struct was generated from the following file: