Skip to content

Commit

Permalink
render riccati equation properly in CARE doc (RobotLocomotion#12761)
Browse files Browse the repository at this point in the history
* render riccati equation properly in CARE doc
  • Loading branch information
RussTedrake authored Feb 23, 2020
1 parent 19b32f5 commit 90f3115
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions math/continuous_algebraic_riccati_equation.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ namespace math {
/// Computes the unique stabilizing solution S to the continuous-time algebraic
/// Riccati equation:
///
/// @verbatim
/// S A + A' S - S B inv(R) B' S + Q = 0
/// @endverbatim
/// @f[
/// S A + A' S - S B R^{-1} B' S + Q = 0
/// @f]
///
/// @throws std::runtime_error if R is not positive definite.
///
Expand Down
4 changes: 2 additions & 2 deletions math/discrete_algebraic_riccati_equation.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ namespace math {
/// Computes the unique stabilizing solution X to the discrete-time algebraic
/// Riccati equation:
///
/// \f[
/// @f[
/// A'XA - X - A'XB(B'XB+R)^{-1}B'XA + Q = 0
/// \f]
/// @f]
///
/// @throws std::runtime_error if Q is not positive semi-definite.
/// @throws std::runtime_error if R is not positive definite.
Expand Down

0 comments on commit 90f3115

Please sign in to comment.