﻿DoubleParameterizedFunctional Class

# DoubleParameterizedFunctional Class

Abstract class representing a parameterized functional.
Inheritance Hierarchy

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 7.3
Syntax
```[SerializableAttribute]
public abstract class DoubleParameterizedFunctional : ICloneable```

The DoubleParameterizedFunctional type exposes the following members.

Constructors
NameDescription
DoubleParameterizedFunctional(Int32)
Constructs a DoubleParameterizedFunctional object with the specified domain dimension.
DoubleParameterizedFunctional(DoubleParameterizedFunctional)
Copy constructor. Constructs a deep copy of the given DoubleParameterizedFunctional object.
Top
Properties
NameDescription
CentralDifferenceDelta
Gets and sets the delta used in the centeral difference method for approximating the gradient with respect to the parameters.
XDimension
Gets and sets the dimension of the domain of the functional.
Top
Methods
NameDescription
Clone
Returns a deep copy of the base. Deriving classes must override this method.
Evaluate(DoubleVector, DoubleVector)
Evaluates the parameterized function for the given parameter values at the given point.
Evaluate(DoubleVector, DoubleMatrix, DoubleVector)
Evaluates the parameterized function for the given parameter values at the given set of points.
GradientWithRespectToParams
Method for calculating the gradient with respect to the parameters while keeping x fixed at the specified value.
Top
Remarks
A parameterized functional defines a funtion mapping a vector to a real value for each set of parameters. For example:
f(x1, x2: a, b) = a*cos(b*x1) + b*sin(a*x2)
is a parameterized function. For each set of values, a and b, it defines a function of x1, x2. For example if a = 1 and b = 2 then
f(x1, x2) = cos(2*x1) + 2*sin(x2)
Parameterized function are used by curve fitting routines and solve the following problem -
Suppose I have a set of points (xi, yi), i = 1...n, and I want to determine the values of a and b in the above parameterized function f(x1, x2: a, b) described above so that f fits the data points.
See Also