LeastSquares
============

.. currentmodule:: lsst.afw.math

.. autoclass:: LeastSquares
   :show-inheritance:

   .. rubric:: Attributes Summary

   .. autosummary::

      ~LeastSquares.DIRECT_SVD
      ~LeastSquares.NORMAL_CHOLESKY
      ~LeastSquares.NORMAL_EIGENSYSTEM

   .. rubric:: Methods Summary

   .. autosummary::

      ~LeastSquares.fromDesignMatrix
      ~LeastSquares.fromNormalEquations
      ~LeastSquares.getCovariance
      ~LeastSquares.getDiagnostic
      ~LeastSquares.getDimension
      ~LeastSquares.getFactorization
      ~LeastSquares.getFisherMatrix
      ~LeastSquares.getRank
      ~LeastSquares.getSolution
      ~LeastSquares.getThreshold
      ~LeastSquares.setDesignMatrix
      ~LeastSquares.setNormalEquations
      ~LeastSquares.setThreshold

   .. rubric:: Attributes Documentation

   .. autoattribute:: DIRECT_SVD
   .. autoattribute:: NORMAL_CHOLESKY
   .. autoattribute:: NORMAL_EIGENSYSTEM

   .. rubric:: Methods Documentation

   .. automethod:: fromDesignMatrix
   .. automethod:: fromNormalEquations
   .. automethod:: getCovariance
   .. automethod:: getDiagnostic
   .. automethod:: getDimension
   .. automethod:: getFactorization
   .. automethod:: getFisherMatrix
   .. automethod:: getRank
   .. automethod:: getSolution
   .. automethod:: getThreshold
   .. automethod:: setDesignMatrix
   .. automethod:: setNormalEquations
   .. automethod:: setThreshold