DRiccati:

-------------------------------------------------------------------------------
   Solves the matrix riccati equation in the form

   g = [a   r]
       [q -a']

-------------------------------------------------------------------------------
   Form:
   [sinf, rr] = DRiccati( g )
-------------------------------------------------------------------------------

   ------
   Inputs
   ------
   g                   Input matrix 

   -------
   Outputs
   -------
   sinf                Steady-state solution
   rr                  Repeated roots 1= repeated roots

-------------------------------------------------------------------------------

Children:

Common: Math/Odd