Template Function librapid::detail::assignParallel(array::ArrayContainer<ShapeType_, Storage<StorageScalar>>&, const detail::Function<descriptor::Trivial, Functor_, Args…>&)#

Function Documentation#

template<typename ShapeType_, typename StorageScalar, typename Functor_, typename ...Args, typename std::enable_if_t<!typetraits::HasCustomEval<detail::Function<descriptor::Trivial, Functor_, Args...>>::value, int>>
void librapid::detail::assignParallel(array::ArrayContainer<ShapeType_, Storage<StorageScalar>> &lhs, const detail::Function<descriptor::Trivial, Functor_, Args...> &function)#

Trivial assignment with parallel execution

See also

assign(array::ArrayContainer<ShapeType_, Storage<StorageScalar>> &lhs, const detail::Function<descriptor::Trivial, Functor_, Args…> &function)

Template Parameters
  • ShapeType_ – The shape type of the array container

  • StorageScalar – The scalar type of the storage object

  • Functor_ – The function type

  • Args – The argument types of the function

Parameters
  • lhs – The array container to assign to

  • function – The function to assign