Nvariate.h
1//-*-C++-*-
2/***************************************************************************
3 *
4 * Copyright (C) 2022 by Willem van Straten
5 * Licensed under the Academic Free License version 2.1
6 *
7 ***************************************************************************/
8
9// psrchive/More/MEAL/MEAL/Nvariate.h
10
11#ifndef __MEAL_Nvariate_H
12#define __MEAL_Nvariate_H
13
14namespace MEAL
15{
17 template<class T>
18 class Nvariate: public T
19 {
20 public:
21
22 virtual Nvariate<T>* clone () const = 0;
23
25 virtual unsigned get_ndim () const = 0;
26
28 virtual void set_abscissa_value (unsigned idim, double value) = 0;
29
31 virtual double get_abscissa_value (unsigned idim) const = 0;
32
33 };
34}
35
36#endif
Pure virtual base class of functions that have one or more abscissa(e)
Definition Nvariate.h:19
virtual void set_abscissa_value(unsigned idim, double value)=0
Set the abscissa value for the specified dimension.
virtual double get_abscissa_value(unsigned idim) const =0
Get the abscissa value for the specified dimension.
virtual unsigned get_ndim() const =0
Get the number of abscissa (dimension) of the function.
Namespace in which all modeling and calibration related code is declared.
Definition ExampleComplex2.h:16

Generated using doxygen 1.14.0