Namespaces | |
details | |
Classes | |
struct | type_identity |
Functions | |
template<std::size_t first, std::size_t second, std::size_t... tail> | |
constexpr bool | is_sorted (std::index_sequence< first, second, tail... >) |
Check if the given index sequence is sorted. More... | |
template<std::size_t first> | |
constexpr bool | is_sorted (std::index_sequence< first >) |
A sequence of size 1 is always sorted. More... | |
template<std::size_t N, std::size_t M> | |
constexpr std::size_t | total_derivatives () |
Compute the total number of distinct derivatives for all orders 1 through N. More... | |
template<typename T , std::size_t... Ns> | |
constexpr auto | make_tuple_array (std::index_sequence< Ns... >) |
Create a tuple with sizeof...(Ns) entries, containing CTArrayRefs with tags given by the Ns... More... | |
template<std::size_t N> | |
constexpr auto | zeroes () |
Create an index sequence containing N zeroes. More... | |
template<typename T , std::size_t first, std::size_t... tags> | |
auto | take_derivatives (const T &expression, std::index_sequence< first, tags... >) |
Take all derivatives of expression listed in the index sequence. More... | |
constexpr bool CompileTimeDerivativesMaterialInternal::is_sorted | ( | std::index_sequence< first, second, tail... > | ) |
Check if the given index sequence is sorted.
Definition at line 119 of file CompileTimeDerivativesMaterialInternal.h.
constexpr bool CompileTimeDerivativesMaterialInternal::is_sorted | ( | std::index_sequence< first > | ) |
A sequence of size 1 is always sorted.
Definition at line 129 of file CompileTimeDerivativesMaterialInternal.h.
constexpr auto CompileTimeDerivativesMaterialInternal::make_tuple_array | ( | std::index_sequence< Ns... > | ) |
Create a tuple with sizeof...(Ns) entries, containing CTArrayRefs with tags given by the Ns...
Definition at line 158 of file CompileTimeDerivativesMaterialInternal.h.
auto CompileTimeDerivativesMaterialInternal::take_derivatives | ( | const T & | expression, |
std::index_sequence< first, tags... > | |||
) |
Take all derivatives of expression listed in the index sequence.
Definition at line 179 of file CompileTimeDerivativesMaterialInternal.h.
Referenced by CompileTimeDerivativesMaterial< N, is_ad, MaxD >::loopEvaluate().
constexpr std::size_t CompileTimeDerivativesMaterialInternal::total_derivatives | ( | ) |
Compute the total number of distinct derivatives for all orders 1 through N.
Definition at line 139 of file CompileTimeDerivativesMaterialInternal.h.
constexpr auto CompileTimeDerivativesMaterialInternal::zeroes | ( | ) |
Create an index sequence containing N zeroes.
Definition at line 169 of file CompileTimeDerivativesMaterialInternal.h.