• Api Documentation
Show / Hide Table of Contents
  • IntersectingQuadrature
    • HyperRectangle
    • IHyperRectangle
    • IQuadrater
    • Methods
    • Quadrature
    • QuadratureNode
    • QuadratureRule
    • Symbol
  • IntersectingQuadrature.Tensor
    • Algebra
    • ConstantPolynomial
    • GradientComponent
    • IScalarFunction
    • IVectorFunction
    • LinearPolynomial
    • LinearVectorPolynomial
    • QuadraticPolynomial
    • QuadraticVectorPolynomial
    • ScalarComposition
    • Tensor1
    • Tensor2
    • Tensor3
    • VectorComposition

Class LinearPolynomial

Inheritance
object
LinearPolynomial
Implements
IScalarFunction
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: IntersectingQuadrature.Tensor
Assembly: IntersectingQuadrature.dll
Syntax
public class LinearPolynomial : IScalarFunction

Constructors

| Edit this page View Source

LinearPolynomial(double, Tensor1)

Declaration
public LinearPolynomial(double a, Tensor1 b)
Parameters
Type Name Description
double a
Tensor1 b

Fields

| Edit this page View Source

A

Declaration
public double A
Field Value
Type Description
double
| Edit this page View Source

B

Declaration
public Tensor1 B
Field Value
Type Description
Tensor1

Properties

| Edit this page View Source

M

Dimension of the input vector field

Declaration
public int M { get; }
Property Value
Type Description
int

Methods

| Edit this page View Source

Evaluate(Tensor1)

Declaration
public 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

| Edit this page View Source

EvaluateAndGradient(Tensor1)

Declaration
public (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

| Edit this page View Source

EvaluateAndGradientAndHessian(Tensor1)

Declaration
public (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

Implements

IScalarFunction
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX