QUGaR 0.0.4
|
Function containing an affine transformation. More...
#include <impl_funcs_lib.hpp>
Public Member Functions | |
FuncWithAffineTransf () | |
Default constructor. Creates and stores an identity transformation. | |
FuncWithAffineTransf (const AffineTransf< dim > &transf) | |
Constructs a new class storing the given transf . | |
![]() | |
DomainFunc ()=default | |
Default constructor. | |
DomainFunc (const DomainFunc &)=default | |
Default copy constructor. | |
DomainFunc (DomainFunc &&)=default | |
Default move constructor. | |
DomainFunc & | operator= (const DomainFunc &)=default |
Default copy assignment operator. | |
DomainFunc & | operator= (DomainFunc &&)=default |
Default move assignment operator. | |
virtual | ~DomainFunc ()=default |
Default virtual destructor. | |
virtual Value< real > | operator() (const Point< dim > &point) const =0 |
Evaluator operator. | |
virtual Value< Interval< dim > > | operator() (const Point< dim, Interval< dim > > &point) const =0 |
Evaluator operator. | |
virtual Gradient< real > | grad (const Point< dim > &point) const =0 |
Gradient evaluator operator. | |
virtual Gradient< Interval< dim > > | grad (const Point< dim, Interval< dim > > &point) const =0 |
Gradient evaluator operator. | |
virtual Hessian< real > | hessian (const Point< dim > &point) const =0 |
Hessian evaluator operator. | |
Protected Attributes | |
AffineTransf< dim > | transf_ |
Stored affine transformation. | |
Additional Inherited Members | |
![]() | |
template<int N> | |
using | Interval = ::algoim::Interval<N> |
Algoim's interval alias. | |
template<typename T > | |
using | Value = std::conditional_t<range == 1, T, Vector<T, range>> |
Value type. | |
template<typename T > | |
using | Gradient = Vector<Value<T>, dim> |
Gradient type. | |
template<typename T > | |
using | Hessian = Vector<Value<T>, num_hessian> |
Hessian (symmetric type). | |
![]() | |
static const int | num_hessian = dim * (dim + 1) / 2 |
Number of Hessian (symmetric) components. | |
Function containing an affine transformation.
dim | Parametric dimension. |
qugar::impl::funcs::FuncWithAffineTransf< dim >::FuncWithAffineTransf | ( | ) |
Default constructor. Creates and stores an identity transformation.
|
explicit |
Constructs a new class storing the given transf
.
transf | Transformation to store. |
|
protected |
Stored affine transformation.