mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2024-11-10 00:45:36 +00:00
DoubleFunctionSample: constructor inheritance removed
This commit is contained in:
parent
c0bfb12bd7
commit
c70008b895
@ -147,6 +147,16 @@ MAKE_SELF_SCALAR_OP(/)
|
||||
/******************************************************************************
|
||||
* DoubleFunctionSample implementation *
|
||||
******************************************************************************/
|
||||
// constructors ////////////////////////////////////////////////////////////////
|
||||
DoubleFunctionSample::DoubleFunctionSample(void)
|
||||
: Sample<DoubleFunction>()
|
||||
{}
|
||||
|
||||
DoubleFunctionSample::DoubleFunctionSample(const Index nSample)
|
||||
: Sample<DoubleFunction>(nSample)
|
||||
{}
|
||||
|
||||
// function call ///////////////////////////////////////////////////////////////
|
||||
DSample DoubleFunctionSample::operator()(const DMatSample &arg) const
|
||||
{
|
||||
DSample result(size());
|
||||
|
@ -156,7 +156,10 @@ class DoubleFunctionSample: public Sample<DoubleFunction>
|
||||
{
|
||||
public:
|
||||
// constructors
|
||||
using Sample<DoubleFunction>::Sample;
|
||||
DoubleFunctionSample(void);
|
||||
DoubleFunctionSample(const Index nSample);
|
||||
EIGEN_EXPR_CTOR(DoubleFunctionSample, DoubleFunctionSample,
|
||||
Sample<DoubleFunction>, ArrayExpr)
|
||||
// destructor
|
||||
virtual ~DoubleFunctionSample(void) = default;
|
||||
// function call
|
||||
|
Loading…
Reference in New Issue
Block a user