package scipy

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Nonlin.JacobianSource

Sourcetype tag = [
  1. | `Jacobian
]
Sourcetype t = [ `Jacobian | `Object ] Obj.t
Sourceval of_pyobject : Py.Object.t -> t
Sourceval to_pyobject : [> tag ] Obj.t -> Py.Object.t
Sourceval create : ?kw:(string * Py.Object.t) list -> unit -> t

Common interface for Jacobians or Jacobian approximations.

The optional methods come useful when implementing trust region etc., algorithms that often require evaluating transposes of the Jacobian.

Methods ------- solve Returns J^-1 * v update Updates Jacobian to point `x` (where the function has residual `Fx`)

matvec : optional Returns J * v rmatvec : optional Returns A^H * v rsolve : optional Returns A^-H * v matmat : optional Returns A * V, where V is a dense matrix with dimensions (N,K). todense : optional Form the dense Jacobian matrix. Necessary for dense trust region algorithms, and useful for testing.

Attributes ---------- shape Matrix dimensions (M, N) dtype Data type of the matrix. func : callable, optional Function the Jacobian corresponds to

Sourceval aspreconditioner : [> tag ] Obj.t -> Py.Object.t

None

Sourceval setup : x:Py.Object.t -> f:Py.Object.t -> func:Py.Object.t -> [> tag ] Obj.t -> Py.Object.t

None

Sourceval solve : ?tol:Py.Object.t -> v:Py.Object.t -> [> tag ] Obj.t -> Py.Object.t

None

Sourceval update : x:Py.Object.t -> f:Py.Object.t -> [> tag ] Obj.t -> Py.Object.t

None

Sourceval shape : t -> Py.Object.t

Attribute shape: get value or raise Not_found if None.

Sourceval shape_opt : t -> Py.Object.t option

Attribute shape: get value as an option.

Sourceval dtype : t -> Py.Object.t

Attribute dtype: get value or raise Not_found if None.

Sourceval dtype_opt : t -> Py.Object.t option

Attribute dtype: get value as an option.

Sourceval func : t -> Py.Object.t

Attribute func: get value or raise Not_found if None.

Sourceval func_opt : t -> Py.Object.t option

Attribute func: get value as an option.

Sourceval to_string : t -> string

Print the object to a human-readable representation.

Sourceval show : t -> string

Print the object to a human-readable representation.

Sourceval pp : Format.formatter -> t -> unit

Pretty-print the object to a formatter.

OCaml

Innovation. Community. Security.