IGLib 1.4
The IGLib base library for development of numerical, technical and business applications.
|
A RealFunction class representing identity (or linear) function. More...
Public Member Functions | |
Identity () | |
Identity (double Kx, double Sx) | |
Identity (double Kx, double Sx, double Ky, double Sy) | |
override double | Derivative (double x, int order) |
Returns the derivative of the given order of this function at the specified parameter. | |
override bool | HigherDerivativeDefined (int order) |
Tells whether the derivative of the given order is defined for this function (by implementation, not mathematically). Returns true if either the internal variable indicates true or the appropriate delegate is non-null. | |
Protected Member Functions | |
override double | RefValue (double x) |
Returns the value of reference (untransformed) function. | |
override double | RefDerivative (double x) |
Returns the first derivative of reference (untransformed) function. | |
override double | RefSecondDerivative (double x) |
Returns the second derivative of the given order of reference (untransformed) function. | |
internal override void | setHighestDerivativeDefined (int order) |
Sets the internal variable that specifies which is the highest order derivative devined (-1 for unlimited). | |
override double | RefIntegral (double x) |
Returns definite integral of reference (untransformed) function from 0 to the function argument. | |
override double | RefInverse (double x) |
Returns inverse of the reference (untransformed) function. | |
Properties | |
override bool | ValueDefined [get, set] |
Tells whether value of the function is defined by implementation. Getter returns true if internal flag is set OR appropriate delegate is defined. Setter sets the internal flag (i.e. delegate must also be set to null if getter should return false). | |
override bool | DerivativeDefined [get, set] |
Tells whether the first derivative is defined for this function (by implementation, not mathematically). Getter returns true if internal flag is set OR appropriate delegate is defined. Setter sets the internal flag (i.e. delegate must also be set to null if getter should return false). | |
override bool | SecondDerivativeDefined [get, set] |
Tells whether the second derivative is defined for this function (by implementation, not mathematically). Getter returns true if internal flag is set OR appropriate delegate is defined. Setter sets the internal flag (i.e. delegate must also be set to null if getter should return false). | |
override bool | IntegralDefined [get, set] |
Indicates whether integral is defined for this function (w.r. implementation). Getter returns true if internal flag is set OR appropriate delegate is defined. Setter sets the internal flag (i.e. delegate must also be set to null if getter should return false). | |
override bool | InverseDefined [get, set] |
Indicates whether inverse is defined for this function (w.r. implementation). Getter returns true if internal flag is set OR appropriate delegate is defined. Setter sets the internal flag (i.e. delegate must also be set to null if getter should return false). |
A RealFunction class representing identity (or linear) function.
IG::Num::Func::Identity::Identity | ( | ) | [inline] |
IG::Num::Func::Identity::Identity | ( | double | Kx, |
double | Sx | ||
) | [inline] |
IG::Num::Func::Identity::Identity | ( | double | Kx, |
double | Sx, | ||
double | Ky, | ||
double | Sy | ||
) | [inline] |
override double IG::Num::Func::Identity::RefValue | ( | double | x | ) | [inline, protected, virtual] |
Returns the value of reference (untransformed) function.
Reimplemented from IG::Num::RealFunction.
override double IG::Num::Func::Identity::RefDerivative | ( | double | x | ) | [inline, protected, virtual] |
Returns the first derivative of reference (untransformed) function.
Reimplemented from IG::Num::RealFunction.
override double IG::Num::Func::Identity::RefSecondDerivative | ( | double | x | ) | [inline, protected, virtual] |
Returns the second derivative of the given order of reference (untransformed) function.
Reimplemented from IG::Num::RealFunction.
override double IG::Num::Func::Identity::Derivative | ( | double | x, |
int | order | ||
) | [inline] |
Returns the derivative of the given order of this function at the specified parameter.
Reimplemented from IG::Num::RealFunction.
override bool IG::Num::Func::Identity::HigherDerivativeDefined | ( | int | order | ) | [inline] |
Tells whether the derivative of the given order is defined for this function (by implementation, not mathematically). Returns true if either the internal variable indicates true or the appropriate delegate is non-null.
Reimplemented from IG::Num::RealFunction.
internal override void IG::Num::Func::Identity::setHighestDerivativeDefined | ( | int | order | ) | [inline, protected, virtual] |
Sets the internal variable that specifies which is the highest order derivative devined (-1 for unlimited).
order | Highest order for which derivative is defined. -1 means that all derivatives are defined. |
Reimplemented from IG::Num::RealFunction.
override double IG::Num::Func::Identity::RefIntegral | ( | double | x | ) | [inline, protected, virtual] |
Returns definite integral of reference (untransformed) function from 0 to the function argument.
Reimplemented from IG::Num::RealFunction.
override double IG::Num::Func::Identity::RefInverse | ( | double | y | ) | [inline, protected, virtual] |
Returns inverse of the reference (untransformed) function.
Reimplemented from IG::Num::RealFunction.
override bool IG::Num::Func::Identity::ValueDefined [get, set] |
Tells whether value of the function is defined by implementation. Getter returns true if internal flag is set OR appropriate delegate is defined. Setter sets the internal flag (i.e. delegate must also be set to null if getter should return false).
Reimplemented from IG::Num::RealFunction.
override bool IG::Num::Func::Identity::DerivativeDefined [get, set] |
Tells whether the first derivative is defined for this function (by implementation, not mathematically). Getter returns true if internal flag is set OR appropriate delegate is defined. Setter sets the internal flag (i.e. delegate must also be set to null if getter should return false).
Reimplemented from IG::Num::RealFunction.
override bool IG::Num::Func::Identity::SecondDerivativeDefined [get, set] |
Tells whether the second derivative is defined for this function (by implementation, not mathematically). Getter returns true if internal flag is set OR appropriate delegate is defined. Setter sets the internal flag (i.e. delegate must also be set to null if getter should return false).
Reimplemented from IG::Num::RealFunction.
override bool IG::Num::Func::Identity::IntegralDefined [get, set] |
Indicates whether integral is defined for this function (w.r. implementation). Getter returns true if internal flag is set OR appropriate delegate is defined. Setter sets the internal flag (i.e. delegate must also be set to null if getter should return false).
Reimplemented from IG::Num::RealFunction.
override bool IG::Num::Func::Identity::InverseDefined [get, set] |
Indicates whether inverse is defined for this function (w.r. implementation). Getter returns true if internal flag is set OR appropriate delegate is defined. Setter sets the internal flag (i.e. delegate must also be set to null if getter should return false).
Reimplemented from IG::Num::RealFunction.