std::enable_if_t<
std::is_floating_point_v<ScalarType> ||
(boost::is_complex<ScalarType>::value &&
- std::is_floating_point<
- typename internal::RemoveComplexWrapper<ScalarType>::type>::value)>>
+ std::is_floating_point_v<
+ typename internal::RemoveComplexWrapper<ScalarType>::type>)>>
{
/**
* The type of taping used
/**
* The actual auto-differentiable number type
*/
- using ad_type = typename std::
- conditional<is_real_valued, real_type, complex_type>::type;
+ using ad_type =
+ typename std::conditional_t<is_real_valued, real_type, complex_type>;
/**
* The actual auto-differentiable number directional derivative type
std::enable_if_t<
std::is_floating_point_v<ScalarType> ||
(boost::is_complex<ScalarType>::value &&
- std::is_floating_point<typename internal::RemoveComplexWrapper<
- ScalarType>::type>::value)>>::is_taped =
+ std::is_floating_point_v<typename internal::RemoveComplexWrapper<
+ ScalarType>::type>)>>::is_taped =
internal::ADNumberInfoFromEnum<
typename internal::RemoveComplexWrapper<ScalarType>::type,
ADNumberTypeCode>::is_taped;
std::enable_if_t<
std::is_floating_point_v<ScalarType> ||
(boost::is_complex<ScalarType>::value &&
- std::is_floating_point<typename internal::RemoveComplexWrapper<
- ScalarType>::type>::value)>>::is_tapeless =
+ std::is_floating_point_v<typename internal::RemoveComplexWrapper<
+ ScalarType>::type>)>>::is_tapeless =
!(NumberTraits<ScalarType, ADNumberTypeCode>::is_taped);
std::enable_if_t<
std::is_floating_point_v<ScalarType> ||
(boost::is_complex<ScalarType>::value &&
- std::is_floating_point<typename internal::RemoveComplexWrapper<
- ScalarType>::type>::value)>>::is_real_valued =
+ std::is_floating_point_v<typename internal::RemoveComplexWrapper<
+ ScalarType>::type>)>>::is_real_valued =
(!boost::is_complex<ScalarType>::value);
std::enable_if_t<
std::is_floating_point_v<ScalarType> ||
(boost::is_complex<ScalarType>::value &&
- std::is_floating_point<typename internal::RemoveComplexWrapper<
- ScalarType>::type>::value)>>::is_complex_valued =
+ std::is_floating_point_v<typename internal::RemoveComplexWrapper<
+ ScalarType>::type>)>>::is_complex_valued =
!(NumberTraits<ScalarType, ADNumberTypeCode>::is_real_valued);
std::enable_if_t<
std::is_floating_point_v<ScalarType> ||
(boost::is_complex<ScalarType>::value &&
- std::is_floating_point<typename internal::RemoveComplexWrapper<
- ScalarType>::type>::value)>>::n_supported_derivative_levels =
+ std::is_floating_point_v<typename internal::RemoveComplexWrapper<
+ ScalarType>::type>)>>::n_supported_derivative_levels =
internal::ADNumberInfoFromEnum<
typename internal::RemoveComplexWrapper<ScalarType>::type,
ADNumberTypeCode>::n_supported_derivative_levels;
std::enable_if_t<
std::is_floating_point_v<ScalarType> ||
(boost::is_complex<ScalarType>::value &&
- std::is_floating_point<typename internal::RemoveComplexWrapper<
- ScalarType>::type>::value)>>::is_taped;
+ std::is_floating_point_v<typename internal::RemoveComplexWrapper<
+ ScalarType>::type>)>>::is_taped;
template <typename ScalarType, enum NumberTypes ADNumberTypeCode>
std::enable_if_t<
std::is_floating_point_v<ScalarType> ||
(boost::is_complex<ScalarType>::value &&
- std::is_floating_point<typename internal::RemoveComplexWrapper<
- ScalarType>::type>::value)>>::is_tapeless;
+ std::is_floating_point_v<typename internal::RemoveComplexWrapper<
+ ScalarType>::type>)>>::is_tapeless;
template <typename ScalarType, enum NumberTypes ADNumberTypeCode>
std::enable_if_t<
std::is_floating_point_v<ScalarType> ||
(boost::is_complex<ScalarType>::value &&
- std::is_floating_point<typename internal::RemoveComplexWrapper<
- ScalarType>::type>::value)>>::is_real_valued;
+ std::is_floating_point_v<typename internal::RemoveComplexWrapper<
+ ScalarType>::type>)>>::is_real_valued;
template <typename ScalarType, enum NumberTypes ADNumberTypeCode>
std::enable_if_t<
std::is_floating_point_v<ScalarType> ||
(boost::is_complex<ScalarType>::value &&
- std::is_floating_point<typename internal::RemoveComplexWrapper<
- ScalarType>::type>::value)>>::is_complex_valued;
+ std::is_floating_point_v<typename internal::RemoveComplexWrapper<
+ ScalarType>::type>)>>::is_complex_valued;
template <typename ScalarType, enum NumberTypes ADNumberTypeCode>
std::enable_if_t<
std::is_floating_point_v<ScalarType> ||
(boost::is_complex<ScalarType>::value &&
- std::is_floating_point<typename internal::RemoveComplexWrapper<
- ScalarType>::type>::value)>>::n_supported_derivative_levels;
+ std::is_floating_point_v<typename internal::RemoveComplexWrapper<
+ ScalarType>::type>)>>::n_supported_derivative_levels;
# endif
std::enable_if_t<
std::is_floating_point_v<ScalarType> ||
(boost::is_complex<ScalarType>::value &&
- std::is_floating_point<
- typename internal::RemoveComplexWrapper<ScalarType>::type>::value)>>
+ std::is_floating_point_v<
+ typename internal::RemoveComplexWrapper<ScalarType>::type>)>>
{
/**
* The internal number type code.
std::enable_if_t<
std::is_floating_point_v<ScalarType> ||
(boost::is_complex<ScalarType>::value &&
- std::is_floating_point<typename internal::RemoveComplexWrapper<
- ScalarType>::type>::value)>>::is_taped = false;
+ std::is_floating_point_v<typename internal::RemoveComplexWrapper<
+ ScalarType>::type>)>>::is_taped = false;
template <typename ScalarType>
std::enable_if_t<
std::is_floating_point_v<ScalarType> ||
(boost::is_complex<ScalarType>::value &&
- std::is_floating_point<typename internal::RemoveComplexWrapper<
- ScalarType>::type>::value)>>::is_tapeless = false;
+ std::is_floating_point_v<typename internal::RemoveComplexWrapper<
+ ScalarType>::type>)>>::is_tapeless = false;
template <typename ScalarType>
std::enable_if_t<
std::is_floating_point_v<ScalarType> ||
(boost::is_complex<ScalarType>::value &&
- std::is_floating_point<typename internal::RemoveComplexWrapper<
- ScalarType>::type>::value)>>::is_real_valued =
+ std::is_floating_point_v<typename internal::RemoveComplexWrapper<
+ ScalarType>::type>)>>::is_real_valued =
(!boost::is_complex<ScalarType>::value);
std::enable_if_t<
std::is_floating_point_v<ScalarType> ||
(boost::is_complex<ScalarType>::value &&
- std::is_floating_point<typename internal::RemoveComplexWrapper<
- ScalarType>::type>::value)>>::is_complex_valued =
+ std::is_floating_point_v<typename internal::RemoveComplexWrapper<
+ ScalarType>::type>)>>::is_complex_valued =
!(NumberTraits<ScalarType, NumberTypes::none>::is_real_valued);
std::enable_if_t<
std::is_floating_point_v<ScalarType> ||
(boost::is_complex<ScalarType>::value &&
- std::is_floating_point<typename internal::RemoveComplexWrapper<
- ScalarType>::type>::value)>>::n_supported_derivative_levels = 0;
+ std::is_floating_point_v<typename internal::RemoveComplexWrapper<
+ ScalarType>::type>)>>::n_supported_derivative_levels = 0;
# else
std::enable_if_t<
std::is_floating_point_v<ScalarType> ||
(boost::is_complex<ScalarType>::value &&
- std::is_floating_point<typename internal::RemoveComplexWrapper<
- ScalarType>::type>::value)>>::is_taped;
+ std::is_floating_point_v<typename internal::RemoveComplexWrapper<
+ ScalarType>::type>)>>::is_taped;
template <typename ScalarType>
std::enable_if_t<
std::is_floating_point_v<ScalarType> ||
(boost::is_complex<ScalarType>::value &&
- std::is_floating_point<typename internal::RemoveComplexWrapper<
- ScalarType>::type>::value)>>::is_tapeless;
+ std::is_floating_point_v<typename internal::RemoveComplexWrapper<
+ ScalarType>::type>)>>::is_tapeless;
template <typename ScalarType>
std::enable_if_t<
std::is_floating_point_v<ScalarType> ||
(boost::is_complex<ScalarType>::value &&
- std::is_floating_point<typename internal::RemoveComplexWrapper<
- ScalarType>::type>::value)>>::is_real_valued;
+ std::is_floating_point_v<typename internal::RemoveComplexWrapper<
+ ScalarType>::type>)>>::is_real_valued;
template <typename ScalarType>
std::enable_if_t<
std::is_floating_point_v<ScalarType> ||
(boost::is_complex<ScalarType>::value &&
- std::is_floating_point<typename internal::RemoveComplexWrapper<
- ScalarType>::type>::value)>>::is_complex_valued;
+ std::is_floating_point_v<typename internal::RemoveComplexWrapper<
+ ScalarType>::type>)>>::is_complex_valued;
template <typename ScalarType>
std::enable_if_t<
std::is_floating_point_v<ScalarType> ||
(boost::is_complex<ScalarType>::value &&
- std::is_floating_point<typename internal::RemoveComplexWrapper<
- ScalarType>::type>::value)>>::n_supported_derivative_levels;
+ std::is_floating_point_v<typename internal::RemoveComplexWrapper<
+ ScalarType>::type>)>>::n_supported_derivative_levels;
# endif