QUGaR 0.0.4
Loading...
Searching...
No Matches
qugar::impl::funcs::_impl Namespace Reference

Classes

struct  IsAlgoimVector
 
struct  IsAlgoimVector< Point< dim > >
 
struct  IsAlgoimVector< Vector< T, dim > >
 
struct  NewVector
 
struct  NewVector< Point< dim >, new_dim >
 
struct  NewVector< Vector< T, dim >, new_dim >
 
struct  VectorDim
 
struct  VectorDim< Point< dim_ > >
 
struct  VectorDim< Vector< T, dim_ > >
 
struct  VectorType
 
struct  VectorType< Point< dim > >
 
struct  VectorType< Vector< T, dim > >
 

Typedefs

template<typename V , int new_dim>
using NewVector_t = typename NewVector<V, new_dim>::type
 
template<typename V >
using Hessian_t = typename NewVector<V, (VectorDim<V>::dim * (VectorDim<V>::dim + 1)) / 2>::type
 
template<typename V >
using VectorType_t = typename VectorType<V>::type
 

Functions

template<class T >
constexpr T pow (const T base, unsigned const exponent) noexcept
 Computes the exponent of a value.
 

Typedef Documentation

◆ Hessian_t

template<typename V >
using qugar::impl::funcs::_impl::Hessian_t = typename NewVector<V, (VectorDim<V>::dim * (VectorDim<V>::dim + 1)) / 2>::type

◆ NewVector_t

template<typename V , int new_dim>
using qugar::impl::funcs::_impl::NewVector_t = typename NewVector<V, new_dim>::type

◆ VectorType_t

template<typename V >
using qugar::impl::funcs::_impl::VectorType_t = typename VectorType<V>::type

Function Documentation

◆ pow()

template<class T >
T qugar::impl::funcs::_impl::pow ( const T base,
unsigned const exponent )
constexprnoexcept

Computes the exponent of a value.

Template Parameters
TInput and output's type.
Parameters
baseBase of the exponent.
exponentExponent of the base.
Returns
Computed value
Here is the call graph for this function:
Here is the caller graph for this function: