Struct argmin::operator::ArgminOperator
[−]
[src]
pub struct ArgminOperator<'a> { pub operator: &'a Array2<f64>, pub y: &'a Array1<f64>, pub target_cost: f64, }
ArgminOperator
Fields
operator: &'a Array2<f64>
Operator (for now a simple 2D matrix)
y: &'a Array1<f64>
y of Ax = y
target_cost: f64
Target cost function value for stopping criterions
Methods
impl<'a> ArgminOperator<'a>
[src]
fn new(operator: &'a Array2<f64>, y: &'a Array1<f64>) -> Self
[src]
Constructor
fn target_cost(&mut self, target_cost: f64) -> &mut Self
[src]
Set target cost function value
If the optimization reaches this value, it will be stopped.
fn apply(&self, x: &Array1<f64>) -> Array1<f64>
[src]
Forward application of the operator (A*x)
fn apply_transpose(&self, x: &Array1<f64>) -> Array1<f64>
[src]
Application of the transpose of the operator (AT * x)