Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

_isDisposed

_isDisposed: boolean = false

Accessors

isDisposed

  • get isDisposed(): boolean

Methods

dispose

  • dispose(): void
  • Returns void

finiteDifferenceEpsilon

  • finiteDifferenceEpsilon(): Real

gradient

  • gradient(grad: Real[], x: Real[]): void
  • method to overload to compute grad_f, the first derivative of the cost function with respect to x

    Parameters

    Returns void

jacobian

  • method to overload to compute J_f, the jacobian of the cost function with respect to x

    Parameters

    Returns void

value

  • method to overload to compute the cost function value in x

    Parameters

    Returns Real

valueAndGradient

  • method to overload to compute grad_f, the first derivative of the cost function with respect to x and also the cost function

    Parameters

    Returns Real

values

valuesAndJacobian

  • method to overload to compute J_f, the jacobian of the cost function with respect to x and also the cost function

    Parameters

    Returns Real[]