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