Beispiel #1
0
func NewLBFGS() *LBFGS {
	s := &LBFGS{
		Mem:        5,
		LineSearch: uni.DerivWrapper{uni.NewArmijo()},
	}
	return s
}
Beispiel #2
0
func NewProjGrad() *ProjGrad {
	s := &ProjGrad{
		LineSearch: uni.NewArmijo(),
	}
	return s
}
Beispiel #3
0
func NewSteepestDescent() *SteepestDescent {
	s := &SteepestDescent{
		LineSearch: uni.DerivWrapper{uni.NewArmijo()},
	}
	return s
}