package
Version:
v1.0.3
Opens a new window with list of versions in this module.
Published: Nov 13, 2020
License: GPL-3.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
-
func Run(f interface{}, x0 Vector, step_init float64, eta []float64, ...) (Vector, error)
-
func RunGradient(f interface{}, x0 ConstVector, step_init float64, eta []float64, ...) (ConstVector, error)
-
type ConstConstraints
-
type Constraints
-
type DenseGradientF
-
type Epsilon
-
type Hook
-
type MaxIterations
func Run(f interface{}, x0 Vector, step_init float64, eta []float64, args ...interface{}) (Vector, error)
func RunGradient(f interface{}, x0 ConstVector, step_init float64, eta []float64, args ...interface{}) (ConstVector, error)
type ConstConstraints struct {
Value func(x ConstVector) bool
}
type Constraints struct {
Value func(x Vector) bool
}
type DenseGradientF func(x, gradient DenseFloat64Vector) error
type Epsilon struct {
Value float64
}
type MaxIterations struct {
Value int
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.