rprop

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2020 License: GPL-3.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(f interface{}, x0 Vector, step_init float64, eta []float64, args ...interface{}) (Vector, error)

func RunGradient

func RunGradient(f interface{}, x0 ConstVector, step_init float64, eta []float64, args ...interface{}) (ConstVector, error)

Types

type ConstConstraints

type ConstConstraints struct {
	Value func(x ConstVector) bool
}

type Constraints

type Constraints struct {
	Value func(x Vector) bool
}

type DenseGradientF

type DenseGradientF func(x, gradient DenseFloat64Vector) error

type Epsilon

type Epsilon struct {
	Value float64
}

type Hook

type Hook struct {
	Value func([]float64, []float64, ConstVector, ConstScalar) bool
}

type MaxIterations

type MaxIterations struct {
	Value int
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL