Loading...
Searching...
No Matches
CubbyFlow::Internal Namespace Reference

Classes

struct  Cubic
 
struct  Cubic< T, N, 1 >
 
struct  DotProduct
 
struct  DotProduct< M1, M2, 0 >
 
struct  FoldWithAnd
 
struct  FoldWithAnd< T, Rows, Cols, BinaryOperation, 0 >
 
struct  ForEachIndex
 
struct  ForEachIndex< IndexType, N, 1 >
 
struct  GetCoordinatesAndGradientWeights
 
struct  GetCoordinatesAndGradientWeights< T, N, 1 >
 
struct  GetCoordinatesAndWeights
 
struct  GetCoordinatesAndWeights< T, N, 1 >
 
struct  GetSizeAndInitVal
 
struct  GetSizeAndInitVal< T, N, 0 >
 
struct  GetSizeFromInitList
 
struct  GetSizeFromInitList< T, N, 1 >
 
struct  Lerp
 
struct  Lerp< T, N, 1 >
 
struct  Reduce
 
struct  Reduce< T, Rows, Cols, ReduceOperation, UnaryOperation, 0 >
 
struct  SetArrayFromInitList
 
struct  SetArrayFromInitList< T, N, 1 >
 

Typedefs

template<typename Task >
using future = std::future< Task >
 
template<typename TASK >
using operator_return_t = typename std::invoke_result_t< TASK >
 

Functions

template<typename T , typename U >
void ExtrapolatePoint (const Array2< char > &valid, const Vector2UZ &size, ArrayView2< U > output, Array2< char > *next, size_t i, size_t j)
 
template<typename T , typename U >
void ExtrapolatePoint (const Array3< char > &valid, const Vector3UZ &size, ArrayView3< U > output, Array3< char > *next, size_t i, size_t j, size_t k)
 
template<typename T >
T Sign (T a, T b)
 
template<typename T >
T Pythag (T a, T b)
 
template<typename BlasType >
MGResult MGVCycle (const MGMatrix< BlasType > &A, MGParameters< BlasType > &params, unsigned int currentLevel, MGVector< BlasType > *x, MGVector< BlasType > *b, MGVector< BlasType > *buffer)
 
template<typename TASK >
auto Async (TASK &&fn) -> future< operator_return_t< TASK > >
 
template<typename RandomIterator , typename RandomIterator2 , typename CompareFunction >
void Merge (RandomIterator a, size_t size, RandomIterator2 temp, CompareFunction compareFunction)
 
template<typename RandomIterator , typename RandomIterator2 , typename CompareFunction >
void ParallelMergeSort (RandomIterator a, size_t size, RandomIterator2 temp, unsigned int numThreads, CompareFunction compareFunction)
 

Typedef Documentation

◆ future

◆ operator_return_t

Function Documentation

◆ Async()

template<typename TASK >
auto CubbyFlow::Internal::Async ( TASK &&  fn) -> future<operator_return_t<TASK>>
inline

◆ ExtrapolatePoint() [1/2]

template<typename T , typename U >
void CubbyFlow::Internal::ExtrapolatePoint ( const Array2< char > &  valid,
const Vector2UZ size,
ArrayView2< U >  output,
Array2< char > *  next,
size_t  i,
size_t  j 
)

◆ ExtrapolatePoint() [2/2]

template<typename T , typename U >
void CubbyFlow::Internal::ExtrapolatePoint ( const Array3< char > &  valid,
const Vector3UZ size,
ArrayView3< U >  output,
Array3< char > *  next,
size_t  i,
size_t  j,
size_t  k 
)

◆ Merge()

void CubbyFlow::Internal::Merge ( RandomIterator  a,
size_t  size,
RandomIterator2  temp,
CompareFunction  compareFunction 
)

◆ MGVCycle()

template<typename BlasType >
MGResult CubbyFlow::Internal::MGVCycle ( const MGMatrix< BlasType > &  A,
MGParameters< BlasType > &  params,
unsigned int  currentLevel,
MGVector< BlasType > *  x,
MGVector< BlasType > *  b,
MGVector< BlasType > *  buffer 
)

◆ ParallelMergeSort()

void CubbyFlow::Internal::ParallelMergeSort ( RandomIterator  a,
size_t  size,
RandomIterator2  temp,
unsigned int  numThreads,
CompareFunction  compareFunction 
)

◆ Pythag()

template<typename T >
T CubbyFlow::Internal::Pythag ( T  a,
T  b 
)

◆ Sign()

template<typename T >
T CubbyFlow::Internal::Sign ( T  a,
T  b 
)