IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
NumLib.QuadraticFunctionShifted Class Reference

Shifted and stretched square function in arbitrary dimensions. More...

+ Inheritance diagram for NumLib.QuadraticFunctionShifted:
+ Collaboration diagram for NumLib.QuadraticFunctionShifted:

Public Member Functions

 QuadraticFunctionShifted (int dimension)
 Constructor. More...
 
 QuadraticFunctionShifted (double[] shifts)
 Constructor. More...
 
 QuadraticFunctionShifted (double[] shifts, double[] factors)
 Constructor. More...
 
- Public Member Functions inherited from NumLib.FunctionWithGradient
abstract double Value (double[] parameters)
 Returns function value at the specified parameters. More...
 
abstract double[] Gradient (double[] parameters)
 Returns function value at the specified parameters. More...
 

Private Attributes

double[] Factors
 
double[] Shifts
 
int Dimension = 0
 
string _description
 

Additional Inherited Members

- Static Public Member Functions inherited from NumLib.FunctionWithGradient
static double Norm (double[] x)
 Calculates and returns Euclidean norm of the specified vector. More...
 
static string ArrayToString (double[] x)
 
- Properties inherited from NumLib.FunctionWithGradient
abstract string Description [get]
 

Detailed Description

Shifted and stretched square function in arbitrary dimensions.

Constructor & Destructor Documentation

NumLib.QuadraticFunctionShifted.QuadraticFunctionShifted ( int  dimension)
inline

Constructor.

Parameters
dimensionDimension of space where function is defined.
NumLib.QuadraticFunctionShifted.QuadraticFunctionShifted ( double[]  shifts)
inline

Constructor.

Parameters
shiftsVector by which stationary point of the square function is translated.
NumLib.QuadraticFunctionShifted.QuadraticFunctionShifted ( double[]  shifts,
double[]  factors 
)
inline

Constructor.

Parameters
shiftsVector by which stationary point of the square function is translated.
factorsFactors by which individual quadratic terms are multiplied.

References NumLib.QuadraticFunctionShifted.Dimension, NumLib.QuadraticFunctionShifted.Factors, and NumLib.QuadraticFunctionShifted.Shifts.

Member Data Documentation

double [] NumLib.QuadraticFunctionShifted.Factors
private
double [] NumLib.QuadraticFunctionShifted.Shifts
private
int NumLib.QuadraticFunctionShifted.Dimension = 0
private
string NumLib.QuadraticFunctionShifted._description
private

The documentation for this class was generated from the following file: