QUGaR 0.0.4
|
Creates a new implicit function that is just a base function to which an affine transformation is applied. More...
#include <impl_funcs_lib.hpp>
Public Member Functions | |
TransformedFunction (const std::shared_ptr< const ImplicitFunc< dim > > &base_func, const AffineTransf< dim > &transf) | |
Constructs a new transformed function. | |
![]() | |
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. | |
Public Attributes | |
declare_impl_func_virtual_interface | |
Private Attributes | |
std::shared_ptr< const ImplicitFunc< dim > > | base_func_ |
Base function to be transformed. | |
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. | |
![]() | |
AffineTransf< dim > | transf_ |
Stored affine transformation. | |
Creates a new implicit function that is just a base function to which an affine transformation is applied.
dim | Function's parametric direction. |
qugar::impl::funcs::TransformedFunction< dim >::TransformedFunction | ( | const std::shared_ptr< const ImplicitFunc< dim > > & | base_func, |
const AffineTransf< dim > & | transf ) |
Constructs a new transformed function.
base_func | Base function to be transformed. |
transf | Affine transformation to apply. |
|
private |
Base function to be transformed.
qugar::impl::funcs::TransformedFunction< dim >::declare_impl_func_virtual_interface |