ReFRACtor
linear_algebra.h File Reference
#include <blitz/array.h>
#include <limits>
+ Include dependency graph for linear_algebra.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 FullPhysics
 Contains classes to abstract away details in various Spurr Radiative Transfer software.
 

Functions

blitz::Array< double, 2 > FullPhysics::cholesky_decomposition (const blitz::Array< double, 2 > &A)
 This calculates the Cholesky Decompostion of A so that A = L L^T. More...
 
template<class T >
void FullPhysics::fortran_resize (blitz::Array< T, 1 > &M, int sz1)
 If matrix is in Fortran order, resize it. More...
 
template<class T >
void FullPhysics::fortran_resize (blitz::Array< T, 2 > &M, int sz1, int sz2)
 If matrix is in Fortran order, resize it. More...
 
template<class T >
void FullPhysics::fortran_resize (blitz::Array< T, 3 > &M, int sz1, int sz2, int sz3)
 If matrix is in Fortran order, resize it. More...
 
blitz::Array< double, 2 > FullPhysics::generalized_inverse (const blitz::Array< double, 2 > &A, double Rcond=std::numeric_limits< double >::epsilon())
 This returns the generalized inverse of the given matrix. More...
 
blitz::Array< double, 2 > FullPhysics::generalized_inverse (const blitz::Array< double, 2 > &A, const blitz::Array< bool, 1 > &Zero_unused, double Rcond=std::numeric_limits< double >::epsilon())
 This returns the generalized inverse of the given matrix. More...
 
blitz::Array< double, 2 > FullPhysics::multifit_covar (const blitz::Array< double, 2 > &J, double Eps_rel=std::numeric_limits< double >::epsilon())
 
bool FullPhysics::multifit_test_delta (const blitz::Array< double, 1 > &dx, const blitz::Array< double, 1 > &x, double Eps_abs=std::numeric_limits< double >::epsilon(), double Eps_rel=std::numeric_limits< double >::epsilon())
 
bool FullPhysics::multifit_test_gradient (const blitz::Array< double, 1 > &g, double Eps_abs=std::numeric_limits< double >::epsilon())
 
blitz::Array< double, 1 > FullPhysics::solve_least_squares (const blitz::Array< double, 2 > &A, const blitz::Array< double, 1 > &B, double Rcond=1e-12)
 This solves the least squares system A*x = b, returning the minimum norm solution. More...
 
blitz::Array< double, 1 > FullPhysics::solve_least_squares_qr (const blitz::Array< double, 2 > &A, const blitz::Array< double, 1 > &B)
 This finds the least squares solution to the overdetermined system A x = b where the matrix A has more rows than columns. More...
 
double FullPhysics::sqr (double x)
 
void FullPhysics::svd (const blitz::Array< double, 2 > &A, blitz::Array< double, 1 > &S, blitz::Array< double, 2 > &U, blitz::Array< double, 2 > &VT)
 Compute the SVD decomposition of a matrix A = U * SIGMA * V^T. More...
 
template<class T , int D>
blitz::Array< T, D > FullPhysics::to_c_order (const blitz::Array< T, D > &In)
 Ensure that a given blitz::Array is contiguous, not reversed, and in C RowMajorArray format. More...
 
template<class T , int D>
blitz::Array< T, D > FullPhysics::to_c_order_const (const blitz::Array< T, D > &In)
 Ensure that a given blitz::Array is contiguous, not reversed, and in C RowMajorArray format. More...
 
template<class T , int D>
blitz::Array< T, D > FullPhysics::to_fortran (const blitz::Array< T, D > &In)
 Ensure that a given blitz::Array is contiguous, not reversed, and in fortran ColumnMajorArray format. More...
 
template<class T , int D>
blitz::Array< T, D > FullPhysics::to_fortran_const (const blitz::Array< T, D > &In)
 Ensure that a given blitz::Array is contiguous, not reversed, and in fortran ColumnMajorArray format. More...
 

Copyright © 2017, California Institute of Technology.
ALL RIGHTS RESERVED.
U.S. Government Sponsorship acknowledged.
Generated Fri Aug 24 2018 15:44:11