Skip to content

Commit

Permalink
Improved documentation of GaussNewtonLSand added doc tests and unit…
Browse files Browse the repository at this point in the history
… tests
  • Loading branch information
stefan-k committed Apr 8, 2022
1 parent 7e8d566 commit 6190c1a
Show file tree
Hide file tree
Showing 4 changed files with 309 additions and 55 deletions.
2 changes: 2 additions & 0 deletions argmin/src/solver/conjugategradient/cg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ use serde::{Deserialize, Serialize};
///
/// Requires that the provided optimization problem implements [`Operator`].
///
/// Requires an initial parameter vector.
///
/// ## Reference
///
/// Jorge Nocedal and Stephen J. Wright (2006). Numerical Optimization.
Expand Down
2 changes: 2 additions & 0 deletions argmin/src/solver/conjugategradient/nonlinear_cg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ use serde::{Deserialize, Serialize};
///
/// Requires that the provided optimization problem implements [`CostFunction`] and [`Gradient`].
///
/// Requires an initial parameter vector.
///
/// # Reference
///
/// \[0\] Jorge Nocedal and Stephen J. Wright (2006). Numerical Optimization.
Expand Down
Loading

0 comments on commit 6190c1a

Please sign in to comment.