First version of the optimizer

This commit is contained in:
Volodymyr Orlov
2019-10-29 08:59:06 -07:00
parent f4aec2b35e
commit 4488cc110e
10 changed files with 521 additions and 5 deletions
+14
View File
@@ -0,0 +1,14 @@
pub mod first_order;
pub mod line_search;
use crate::linalg::Vector;
type F<X: Vector> = dyn Fn(&X) -> f64;
type DF<X: Vector> = dyn Fn(&mut X, &X);
#[derive(Debug)]
pub enum FunctionOrder {
FIRST,
SECOND,
THIRD
}