Armijoの基準を用いた極小値の一次元探索
[詳細]
関数 |
| template<class T , class Allocator , class Functor , class T2 > |
| double | minimization (array2< T, Allocator > &p, Functor f, const array2< T, Allocator > &grad, const array2< T, Allocator > &d, T2 &data, const double rho=0.7, const double c=0.1, const size_t max_iterations=10) |
| | Armijoの基準を用いて,f(x)の極小値の一次元探索を行う
|
| template<class T , class Allocator , class Functor > |
| double | minimization (array2< T, Allocator > &p, Functor f, const array2< T, Allocator > &grad, const array2< T, Allocator > &d, const double rho=0.7, const double c=0.1, const size_t max_iterations=10) |
| | Armijoの基準を用いて,f(x)の極小値の一次元探索を行う
|
説明
関数
template<class T , class Allocator , class Functor , class T2 >
| double mist::Armijo::minimization |
( |
array2< T, Allocator > & |
p, |
|
|
Functor |
f, |
|
|
const array2< T, Allocator > & |
grad, |
|
|
const array2< T, Allocator > & |
d, |
|
|
T2 & |
data, |
|
|
const double |
rho = 0.7, |
|
|
const double |
c = 0.1, |
|
|
const size_t |
max_iterations = 10 |
|
) |
| |
Armijoの基準を用いて,f(x)の極小値の一次元探索を行う
- 引数
-
| [out] | p | … 極小を与える座標値 |
| [in] | f | … 評価関数 |
| [in] | grad | … 勾配方向ベクトル |
| [in] | d | … 探索方向ベクトル |
| [in] | data | … 評価関数,勾配関数の計算に必要なデータ |
| [in] | rho | … 減少率 |
| [in] | c | … 条件数 |
| [in] | max_iterations | … 最大反復回数 |
- 戻り値
- 極小を与える座標値における評価値
参照先 mist::array< T, Allocator >::size().
template<class T , class Allocator , class Functor >
| double mist::Armijo::minimization |
( |
array2< T, Allocator > & |
p, |
|
|
Functor |
f, |
|
|
const array2< T, Allocator > & |
grad, |
|
|
const array2< T, Allocator > & |
d, |
|
|
const double |
rho = 0.7, |
|
|
const double |
c = 0.1, |
|
|
const size_t |
max_iterations = 10 |
|
) |
| |
Armijoの基準を用いて,f(x)の極小値の一次元探索を行う
- 引数
-
| [out] | p | … 極小を与える座標値 |
| [in] | f | … 評価関数 |
| [in] | grad | … 勾配方向ベクトル |
| [in] | d | … 探索方向ベクトル |
| [in] | rho | … 減少率 |
| [in] | c | … 条件数 |
| [in] | max_iterations | … 最大反復回数 |
- 戻り値
- 極小を与える座標値における評価値
参照先 mist::array< T, Allocator >::size().