Interface IScalarFunction
Function that associates a scalar to a vector field
Namespace: IntersectingQuadrature.Tensor
Assembly: IntersectingQuadrature.dll
Syntax
public interface IScalarFunction
Properties
| Edit this page View SourceM
Dimension of the input vector field
Declaration
int M { get; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
| Edit this page View SourceEvaluate(Tensor1)
Declaration
double Evaluate(Tensor1 x)
Parameters
| Type | Name | Description |
|---|---|---|
| Tensor1 | x | M-dimensional argument of function |
Returns
| Type | Description |
|---|---|
| double | Value of the function at x |
EvaluateAndGradient(Tensor1)
Declaration
(double evaluation, Tensor1 gradient) EvaluateAndGradient(Tensor1 x)
Parameters
| Type | Name | Description |
|---|---|---|
| Tensor1 | x | M-dimensional argument of function |
Returns
| Type | Description |
|---|---|
| (double evaluation, Tensor1 gradient) | Value of the function and gradient vector at x |
EvaluateAndGradientAndHessian(Tensor1)
Declaration
(double evaluation, Tensor1 gradient, Tensor2 hessian) EvaluateAndGradientAndHessian(Tensor1 x)
Parameters
| Type | Name | Description |
|---|---|---|
| Tensor1 | x | M-dimensional argument of function |
Returns
| Type | Description |
|---|---|
| (double evaluation, Tensor1 gradient, Tensor2 hessian) | Value of the function and gradient vector and hessian matrix at x |