Sha256: db51130537cc6121fc4a92bdb10c16e30e8c8d819dd4dd6b9fcf3795c8fa739c

Contents?: true

Size: 957 Bytes

Versions: 5

Compression:

Stored size: 957 Bytes

Contents

module Lbfgsb
  type result = {
    task: String,
    x: Numo::DFloat,
    fnc: Float,
    jcb: Numo::DFloat,
    n_iter: Integer,
    n_fev: Integer,
    n_jev: Integer,
    success: bool
  }

  VERSION: String

  DBL_EPSILON: Float

  def self?.minimize: (fnc: Method | Proc fnc, x_init: Numo::DFloat x_init, jcb: Method | Proc | bool jcb,
    ?args: untyped args, ?bounds: Numo::DFloat? bounds, ?factr: Float factr, ?pgtol: Float pgtol,
    ?maxcor: Integer maxcor, ?maxiter: Integer maxiter,
    ?verbose: Integer? verbose) -> result

  private

  def self?.fnc: (Method | Proc fnc, Numo::DFloat x, untyped args) -> Float

  def self?.jcb: (Method | Proc jcb, Numo::DFloat x, untyped args) -> Numo::DFloat

  def self?.min_l_bfgs_b: (Method | Proc fnc, Numo::DFloat x, Method | Proc | bool jcb, untyped args,
    Numo::DFloat l, Numo::DFloat u, Numo::DFloat nbd, Integer maxcor, Float ftol, Float gtol, Integer maxiter,
    Integer? disp) -> result
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
lbfgsb-0.5.2 sig/lbfgsb.rbs
lbfgsb-0.5.1 sig/lbfgsb.rbs
lbfgsb-0.5.0 sig/lbfgsb.rbs
lbfgsb-0.4.1 sig/lbfgsb.rbs
lbfgsb-0.4.0 sig/lbfgsb.rbs