Basic Image AlgorithmS Library  2.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Classes | Typedefs | Functions
TNT Namespace Reference

Classes

class  const_Region1D
 
class  const_Region2D
 
class  Fortran_Matrix
 
class  Fortran_Sparse_Col_Matrix
 
class  Fortran_Sparse_Vector
 
class  Index1D
 
class  LowerTriangularView
 
class  Matrix
 
class  Region1D
 
class  Region2D
 
class  stopwatch
 
class  Transpose_View
 
class  UnitLowerTriangularView
 
class  UnitUpperTriangularView
 
class  UpperTriangularView
 
class  Vector
 
class  Vector_Adaptor
 

Typedefs

typedef TNT_SUBSCRIPT_TYPE Subscript
 

Functions

double abs (double t)
 
float abs (float t)
 
template<class SPDMatrix , class SymmMatrix >
int Cholesky_upper_factorization (SPDMatrix &A, SymmMatrix &L)
 
template<class T >
dot_prod (const Vector< T > &A, const Vector< T > &B)
 
int eigenproblem_special_quadratic_matrix_solve (const Fortran_Matrix< double > &A, Vector< double > &ret_EigenValuesRealPart, Vector< double > &ret_EigenValuesImagPart, Fortran_Matrix< double > &eigenVecMatrixR)
 solve general eigenproblem for a general quadratix (n x n) matrix. More...
 
int eigenvalue_solve (const Fortran_Matrix< double > &A, Vector< double > &wr, Vector< double > &wi)
 
Vector< double > Lapack_LLS_QR_linear_solve (const Fortran_Matrix< double > &A, const Vector< double > &b)
 
Vector< double > Lapack_LU_linear_solve (const Fortran_Matrix< double > &A, const Vector< double > &b)
 
template<class MaTriX , class VecToR >
VecToR linear_solve (LowerTriangularView< MaTriX > &A, VecToR &b)
 
template<class MaTriX , class VecToR >
VecToR linear_solve (UnitLowerTriangularView< MaTriX > &A, VecToR &b)
 
template<class MaTriX , class VecToR >
VecToR linear_solve (UpperTriangularView< MaTriX > &A, VecToR &b)
 
template<class MaTriX , class VecToR >
VecToR linear_solve (UnitUpperTriangularView< MaTriX > &A, VecToR &b)
 
template<class MaTriX , class VecToR >
VecToR Lower_triangular_solve (MaTriX &A, VecToR &b)
 
template<class MaTRiX >
LowerTriangularView< MaTRiX > Lower_triangular_view (MaTRiX &A)
 
template<class MaTRiX , class VecToRSubscript >
int LU_factor (MaTRiX &A, VecToRSubscript &indx)
 
template<class MaTRiX , class VecToR , class VecToRSubscripts >
int LU_solve (const MaTRiX &A, const VecToRSubscripts &indx, VecToR &b)
 
template<class Matrix , class T >
Vector< T > matmult (const Transpose_View< Matrix > &A, const Vector< T > &B)
 
template<class MaTRiX , class VecToR >
VecToR matmult (LowerTriangularView< MaTRiX > &A, VecToR &x)
 
template<class MaTRiX , class VecToR >
VecToR matmult (UnitLowerTriangularView< MaTRiX > &A, VecToR &x)
 
template<class MaTRiX , class VecToR >
VecToR matmult (UpperTriangularView< MaTRiX > &A, VecToR &x)
 
template<class T >
Fortran_Matrix< T > matmult (const Fortran_Matrix< T > &A, const Fortran_Matrix< T > &B)
 
template<class T >
int matmult (Fortran_Matrix< T > &C, const Fortran_Matrix< T > &A, const Fortran_Matrix< T > &B)
 
template<class T >
Vector< T > matmult (const Fortran_Matrix< T > &A, const Vector< T > &x)
 
template<class MaTRiX , class VecToR >
VecToR matmult (UnitUpperTriangularView< MaTRiX > &A, VecToR &x)
 
template<class T >
Matrix< T > matmult (const Matrix< T > &A, const Matrix< T > &B)
 
template<class T >
int matmult (Matrix< T > &C, const Matrix< T > &A, const Matrix< T > &B)
 
template<class T >
Vector< T > matmult (const Matrix< T > &A, const Vector< T > &x)
 
double max (double a, double b)
 
double max (int a, int b)
 
float max (float a, float b)
 
double min (double a, double b)
 
double min (int a, int b)
 
float min (float a, float b)
 
template<class T >
Fortran_Matrix< T > mult_element (const Fortran_Matrix< T > &A, const Fortran_Matrix< T > &B)
 
template<class T >
Matrix< T > mult_element (const Matrix< T > &A, const Matrix< T > &B)
 
template<class Matrix , class T >
Vector< T > operator* (const Transpose_View< Matrix > &A, const Vector< T > &B)
 
template<class MaTRiX , class VecToR >
VecToR operator* (LowerTriangularView< MaTRiX > &A, VecToR &x)
 
template<class MaTRiX , class VecToR >
VecToR operator* (UnitLowerTriangularView< MaTRiX > &A, VecToR &x)
 
template<class MaTRiX , class VecToR >
VecToR operator* (UpperTriangularView< MaTRiX > &A, VecToR &x)
 
template<class T >
Vector< T > operator* (const Vector< T > &A, const Vector< T > &B)
 
template<class T >
Fortran_Matrix< T > operator* (const Fortran_Matrix< T > &A, const Fortran_Matrix< T > &B)
 
template<class T >
Vector< T > operator* (const Fortran_Matrix< T > &A, const Vector< T > &x)
 
template<class T >
Fortran_Matrix< T > operator* (const Fortran_Matrix< T > &A, const T &x)
 
template<class MaTRiX , class VecToR >
VecToR operator* (UnitUpperTriangularView< MaTRiX > &A, VecToR &x)
 
Index1D operator+ (const Index1D &D, Subscript i)
 
Index1D operator+ (Subscript i, const Index1D &D)
 
template<class T >
Fortran_Matrix< T > operator+ (const Fortran_Matrix< T > &A, const Fortran_Matrix< T > &B)
 
template<class T >
Vector< T > operator+ (const Vector< T > &A, const Vector< T > &B)
 
Index1D operator- (Index1D &D, Subscript i)
 
Index1D operator- (Subscript i, Index1D &D)
 
template<class T >
Fortran_Matrix< T > operator- (const Fortran_Matrix< T > &A, const Fortran_Matrix< T > &B)
 
template<class T >
Vector< T > operator- (const Vector< T > &A, const Vector< T > &B)
 
template<class T >
ostream & operator<< (ostream &s, const Fortran_Sparse_Vector< T > &A)
 
template<class Matrix >
std::ostream & operator<< (std::ostream &s, const Transpose_View< Matrix > &A)
 
template<class T >
ostream & operator<< (ostream &s, const Fortran_Sparse_Col_Matrix< T > &A)
 
template<class Array1D >
std::ostream & operator<< (std::ostream &s, Region1D< Array1D > &A)
 
template<class BBVec >
std::ostream & operator<< (std::ostream &s, const Vector_Adaptor< BBVec > &A)
 
template<class MaTRiX >
std::ostream & operator<< (std::ostream &s, const LowerTriangularView< MaTRiX > &A)
 
std::ostream & operator<< (std::ostream &s, const Vector< char > &A)
 
template<class MaTRiX >
std::ostream & operator<< (std::ostream &s, const UnitLowerTriangularView< MaTRiX > &A)
 
template<class T >
std::ostream & operator<< (std::ostream &s, const Fortran_Matrix< T > &A)
 
std::ostream & operator<< (std::ostream &s, const Vector< unsigned char > &A)
 
template<class T >
std::ostream & operator<< (std::ostream &s, const Vector< T > &A)
 
template<class Array1D >
std::ostream & operator<< (std::ostream &s, const_Region1D< Array1D > &A)
 
template<class Array2D >
std::ostream & operator<< (std::ostream &s, const const_Region2D< Array2D > &A)
 
template<class Array2D >
std::ostream & operator<< (std::ostream &s, const Region2D< Array2D > &A)
 
template<class MaTRiX >
std::ostream & operator<< (std::ostream &s, UpperTriangularView< MaTRiX > &A)
 
template<class MaTRiX >
std::ostream & operator<< (std::ostream &s, UnitUpperTriangularView< MaTRiX > &A)
 
template<class T >
istream & operator>> (istream &s, Fortran_Sparse_Vector< T > &A)
 
template<class BBVec >
std::istream & operator>> (std::istream &s, Vector_Adaptor< BBVec > &A)
 
template<class T >
std::istream & operator>> (std::istream &s, Fortran_Matrix< T > &A)
 
std::istream & operator>> (std::istream &s, Vector< char > &A)
 
std::istream & operator>> (std::istream &s, Vector< unsigned char > &A)
 
template<class T >
std::istream & operator>> (std::istream &s, Vector< T > &A)
 
template<class MaTRiX , class Vector >
int QR_factor (MaTRiX &A, Vector &C, Vector &D)
 
template<class MaTRiX , class Vector >
int QR_solve (const MaTRiX &A, const Vector &c, Vector &d, Vector &b)
 
template<class MaTRiX , class Vector >
int R_solve (const MaTRiX &A, Vector &D, Vector &b)
 
double seconds (void)
 
double sign (double a)
 
float sign (float a)
 
int singular_value_decomposition_general_rectangular_matrix_solve (const Fortran_Matrix< double > &A, Vector< double > &ret_S, Fortran_Matrix< double > &ret_U, Fortran_Matrix< double > &ret_VT)
 solve general eigenproblem. More...
 
template<class T >
Fortran_Matrix< T > transpose (const Fortran_Matrix< T > &A)
 
template<class T >
Matrix< T > transpose (const Matrix< T > &A)
 
template<class Matrix >
Transpose_View< MatrixTranspose_view (const Matrix &A)
 
template<class MaTriX , class VecToR >
VecToR Unit_lower_triangular_solve (MaTriX &A, VecToR &b)
 
template<class MaTRiX >
UnitLowerTriangularView< MaTRiX > Unit_lower_triangular_view (MaTRiX &A)
 
template<class MaTriX , class VecToR >
VecToR Unit_upper_triangular_solve (MaTriX &A, VecToR &b)
 
template<class MaTRiX >
UnitUpperTriangularView< MaTRiX > Unit_upper_triangular_view (MaTRiX &A)
 
Vector< double > Upper_symmetric_eigenvalue_solve (const Fortran_Matrix< double > &A)
 
template<class MaTriX , class VecToR >
VecToR Upper_triangular_solve (MaTriX &A, VecToR &b)
 
template<class MaTRiX >
UpperTriangularView< MaTRiX > Upper_triangular_view (MaTRiX &A)
 

Typedef Documentation

typedef TNT_SUBSCRIPT_TYPE TNT::Subscript

Definition at line 55 of file subscript.h.

Function Documentation

double TNT::abs ( double  t)
inline

Definition at line 50 of file tntmath.h.

float TNT::abs ( float  t)
inline

Definition at line 77 of file tntmath.h.

template<class SPDMatrix , class SymmMatrix >
int TNT::Cholesky_upper_factorization ( SPDMatrix &  A,
SymmMatrix &  L 
)

Definition at line 50 of file cholesky.h.

Referenced by BIAS::Cholesky::Cholesky().

template<class T >
T TNT::dot_prod ( const Vector< T > &  A,
const Vector< T > &  B 
)

Definition at line 489 of file vec.h.

References TNT::Vector< T >::dim().

int TNT::eigenproblem_special_quadratic_matrix_solve ( const Fortran_Matrix< double > &  A,
Vector< double > &  ret_EigenValuesRealPart,
Vector< double > &  ret_EigenValuesImagPart,
Fortran_Matrix< double > &  eigenVecMatrixR 
)

solve general eigenproblem for a general quadratix (n x n) matrix.

computes eigenvalues and eigenvectors of A. (Jan Woetzel), 03/2002

Definition at line 251 of file lapack.h.

References eigenproblem_special_quadratic_matrix_solve(), TNT::Vector< T >::newsize(), TNT::Fortran_Matrix< T >::num_cols(), and TNT::Fortran_Matrix< T >::num_rows().

Referenced by eigenproblem_special_quadratic_matrix_solve().

int TNT::eigenvalue_solve ( const Fortran_Matrix< double > &  A,
Vector< double > &  wr,
Vector< double > &  wi 
)
Vector<double> TNT::Lapack_LLS_QR_linear_solve ( const Fortran_Matrix< double > &  A,
const Vector< double > &  b 
)
Vector<double> TNT::Lapack_LU_linear_solve ( const Fortran_Matrix< double > &  A,
const Vector< double > &  b 
)
template<class MaTriX , class VecToR >
VecToR TNT::linear_solve ( LowerTriangularView< MaTriX > &  A,
VecToR &  b 
)

Definition at line 101 of file trisolve.h.

References Lower_triangular_solve().

template<class MaTriX , class VecToR >
VecToR TNT::linear_solve ( UnitLowerTriangularView< MaTriX > &  A,
VecToR &  b 
)

Definition at line 108 of file trisolve.h.

References Unit_lower_triangular_solve().

template<class MaTriX , class VecToR >
VecToR TNT::linear_solve ( UpperTriangularView< MaTriX > &  A,
VecToR &  b 
)

Definition at line 175 of file trisolve.h.

References Upper_triangular_solve().

template<class MaTriX , class VecToR >
VecToR TNT::linear_solve ( UnitUpperTriangularView< MaTriX > &  A,
VecToR &  b 
)

Definition at line 182 of file trisolve.h.

References Unit_upper_triangular_solve().

template<class MaTriX , class VecToR >
VecToR TNT::Lower_triangular_solve ( MaTriX &  A,
VecToR &  b 
)

Definition at line 46 of file trisolve.h.

Referenced by linear_solve().

template<class MaTRiX >
LowerTriangularView<MaTRiX> TNT::Lower_triangular_view ( MaTRiX &  A)

Definition at line 245 of file triang.h.

template<class MaTRiX , class VecToRSubscript >
int TNT::LU_factor ( MaTRiX &  A,
VecToRSubscript &  indx 
)

Definition at line 92 of file lu.h.

template<class MaTRiX , class VecToR , class VecToRSubscripts >
int TNT::LU_solve ( const MaTRiX &  A,
const VecToRSubscripts &  indx,
VecToR &  b 
)

Definition at line 177 of file lu.h.

template<class Matrix , class T >
Vector<T> TNT::matmult ( const Transpose_View< Matrix > &  A,
const Vector< T > &  B 
)
template<class MaTRiX , class VecToR >
VecToR TNT::matmult ( LowerTriangularView< MaTRiX > &  A,
VecToR &  x 
)
template<class MaTRiX , class VecToR >
VecToR TNT::matmult ( UnitLowerTriangularView< MaTRiX > &  A,
VecToR &  x 
)
template<class MaTRiX , class VecToR >
VecToR TNT::matmult ( UpperTriangularView< MaTRiX > &  A,
VecToR &  x 
)
template<class T >
Fortran_Matrix<T> TNT::matmult ( const Fortran_Matrix< T > &  A,
const Fortran_Matrix< T > &  B 
)
inline
template<class T >
int TNT::matmult ( Fortran_Matrix< T > &  C,
const Fortran_Matrix< T > &  A,
const Fortran_Matrix< T > &  B 
)
inline
template<class T >
Vector<T> TNT::matmult ( const Fortran_Matrix< T > &  A,
const Vector< T > &  x 
)
template<class MaTRiX , class VecToR >
VecToR TNT::matmult ( UnitUpperTriangularView< MaTRiX > &  A,
VecToR &  x 
)
template<class T >
Matrix<T> TNT::matmult ( const Matrix< T > &  A,
const Matrix< T > &  B 
)
inline
template<class T >
int TNT::matmult ( Matrix< T > &  C,
const Matrix< T > &  A,
const Matrix< T > &  B 
)
inline
template<class T >
Vector<T> TNT::matmult ( const Matrix< T > &  A,
const Vector< T > &  x 
)
double TNT::max ( double  a,
double  b 
)
inline

Definition at line 60 of file tntmath.h.

double TNT::max ( int  a,
int  b 
)
inline

Definition at line 66 of file tntmath.h.

float TNT::max ( float  a,
float  b 
)
inline

Definition at line 87 of file tntmath.h.

double TNT::min ( double  a,
double  b 
)
inline

Definition at line 55 of file tntmath.h.

double TNT::min ( int  a,
int  b 
)
inline

Definition at line 72 of file tntmath.h.

float TNT::min ( float  a,
float  b 
)
inline

Definition at line 82 of file tntmath.h.

template<class T >
Fortran_Matrix<T> TNT::mult_element ( const Fortran_Matrix< T > &  A,
const Fortran_Matrix< T > &  B 
)
template<class T >
Matrix<T> TNT::mult_element ( const Matrix< T > &  A,
const Matrix< T > &  B 
)

Definition at line 772 of file cmat.h.

References TNT::Matrix< T >::num_cols(), and TNT::Matrix< T >::num_rows().

template<class Matrix , class T >
Vector<T> TNT::operator* ( const Transpose_View< Matrix > &  A,
const Vector< T > &  B 
)
inline

Definition at line 135 of file transv.h.

References matmult().

template<class MaTRiX , class VecToR >
VecToR TNT::operator* ( LowerTriangularView< MaTRiX > &  A,
VecToR &  x 
)
inline

Definition at line 156 of file triang.h.

References matmult().

template<class MaTRiX , class VecToR >
VecToR TNT::operator* ( UnitLowerTriangularView< MaTRiX > &  A,
VecToR &  x 
)
inline

Definition at line 286 of file triang.h.

References matmult().

template<class MaTRiX , class VecToR >
VecToR TNT::operator* ( UpperTriangularView< MaTRiX > &  A,
VecToR &  x 
)
inline

Definition at line 454 of file triang.h.

References matmult().

template<class T >
Vector<T> TNT::operator* ( const Vector< T > &  A,
const Vector< T > &  B 
)

Definition at line 471 of file vec.h.

References TNT::Vector< T >::dim().

template<class T >
Fortran_Matrix<T> TNT::operator* ( const Fortran_Matrix< T > &  A,
const Fortran_Matrix< T > &  B 
)
inline

Definition at line 484 of file fmat.h.

References matmult().

template<class T >
Vector<T> TNT::operator* ( const Fortran_Matrix< T > &  A,
const Vector< T > &  x 
)
inline

Definition at line 559 of file fmat.h.

References matmult().

template<class T >
Fortran_Matrix<T> TNT::operator* ( const Fortran_Matrix< T > &  A,
const T &  x 
)
inline
template<class MaTRiX , class VecToR >
VecToR TNT::operator* ( UnitUpperTriangularView< MaTRiX > &  A,
VecToR &  x 
)
inline

Definition at line 584 of file triang.h.

References matmult().

Index1D TNT::operator+ ( const Index1D &  D,
Subscript  i 
)
inline

Definition at line 66 of file index.h.

References TNT::Index1D::lbound(), and TNT::Index1D::ubound().

Index1D TNT::operator+ ( Subscript  i,
const Index1D &  D 
)
inline

Definition at line 71 of file index.h.

References TNT::Index1D::lbound(), and TNT::Index1D::ubound().

template<class T >
Fortran_Matrix<T> TNT::operator+ ( const Fortran_Matrix< T > &  A,
const Fortran_Matrix< T > &  B 
)
template<class T >
Vector<T> TNT::operator+ ( const Vector< T > &  A,
const Vector< T > &  B 
)

Definition at line 437 of file vec.h.

References TNT::Vector< T >::dim().

Index1D TNT::operator- ( Index1D &  D,
Subscript  i 
)
inline

Definition at line 78 of file index.h.

References TNT::Index1D::lbound(), and TNT::Index1D::ubound().

Index1D TNT::operator- ( Subscript  i,
Index1D &  D 
)
inline

Definition at line 83 of file index.h.

References TNT::Index1D::lbound(), and TNT::Index1D::ubound().

template<class T >
Fortran_Matrix<T> TNT::operator- ( const Fortran_Matrix< T > &  A,
const Fortran_Matrix< T > &  B 
)
template<class T >
Vector<T> TNT::operator- ( const Vector< T > &  A,
const Vector< T > &  B 
)

Definition at line 454 of file vec.h.

References TNT::Vector< T >::dim().

template<class T >
ostream& TNT::operator<< ( ostream &  s,
const Fortran_Sparse_Vector< T > &  A 
)

Definition at line 138 of file fspvec.h.

template<class Matrix >
std::ostream& TNT::operator<< ( std::ostream &  s,
const Transpose_View< Matrix > &  A 
)

Definition at line 142 of file transv.h.

template<class T >
ostream& TNT::operator<< ( ostream &  s,
const Fortran_Sparse_Col_Matrix< T > &  A 
)

Definition at line 144 of file fcscmat.h.

template<class Array1D >
std::ostream& TNT::operator<< ( std::ostream &  s,
Region1D< Array1D > &  A 
)

Definition at line 239 of file region1d.h.

template<class BBVec >
std::ostream& TNT::operator<< ( std::ostream &  s,
const Vector_Adaptor< BBVec > &  A 
)

Definition at line 270 of file vecadaptor.h.

template<class MaTRiX >
std::ostream& TNT::operator<< ( std::ostream &  s,
const LowerTriangularView< MaTRiX > &  A 
)

Definition at line 297 of file triang.h.

std::ostream& TNT::operator<< ( std::ostream &  s,
const Vector< char > &  A 
)
inline
Todo:
refactor operator<< into BIAS::Vector::Print function with flags, see BIAS::Matrix as example. JW

Definition at line 310 of file vec.h.

template<class MaTRiX >
std::ostream& TNT::operator<< ( std::ostream &  s,
const UnitLowerTriangularView< MaTRiX > &  A 
)
template<class T >
std::ostream& TNT::operator<< ( std::ostream &  s,
const Fortran_Matrix< T > &  A 
)

Definition at line 324 of file fmat.h.

std::ostream& TNT::operator<< ( std::ostream &  s,
const Vector< unsigned char > &  A 
)
inline

Definition at line 330 of file vec.h.

template<class T >
std::ostream& TNT::operator<< ( std::ostream &  s,
const Vector< T > &  A 
)
inline

Definition at line 352 of file vec.h.

template<class Array1D >
std::ostream& TNT::operator<< ( std::ostream &  s,
const_Region1D< Array1D > &  A 
)

Definition at line 365 of file region1d.h.

template<class Array2D >
std::ostream& TNT::operator<< ( std::ostream &  s,
const const_Region2D< Array2D > &  A 
)

Definition at line 427 of file region2d.h.

template<class Array2D >
std::ostream& TNT::operator<< ( std::ostream &  s,
const Region2D< Array2D > &  A 
)

Definition at line 449 of file region2d.h.

template<class MaTRiX >
std::ostream& TNT::operator<< ( std::ostream &  s,
UpperTriangularView< MaTRiX > &  A 
)
template<class MaTRiX >
std::ostream& TNT::operator<< ( std::ostream &  s,
UnitUpperTriangularView< MaTRiX > &  A 
)
template<class T >
istream& TNT::operator>> ( istream &  s,
Fortran_Sparse_Vector< T > &  A 
)
template<class BBVec >
std::istream& TNT::operator>> ( std::istream &  s,
Vector_Adaptor< BBVec > &  A 
)

Definition at line 281 of file vecadaptor.h.

References TNT::Vector_Adaptor< BBVec >::resize().

template<class T >
std::istream& TNT::operator>> ( std::istream &  s,
Fortran_Matrix< T > &  A 
)
std::istream& TNT::operator>> ( std::istream &  s,
Vector< char > &  A 
)
inline

Definition at line 373 of file vec.h.

References TNT::Vector< T >::newsize(), and TNT::Vector< T >::size().

std::istream& TNT::operator>> ( std::istream &  s,
Vector< unsigned char > &  A 
)
inline

Definition at line 399 of file vec.h.

References TNT::Vector< T >::newsize(), and TNT::Vector< T >::size().

template<class T >
std::istream& TNT::operator>> ( std::istream &  s,
Vector< T > &  A 
)
inline

Definition at line 420 of file vec.h.

References TNT::Vector< T >::newsize(), and TNT::Vector< T >::size().

template<class MaTRiX , class Vector >
int TNT::QR_factor ( MaTRiX &  A,
Vector &  C,
Vector &  D 
)
template<class MaTRiX , class Vector >
int TNT::QR_solve ( const MaTRiX &  A,
const Vector &  c,
Vector &  d,
Vector &  b 
)

Definition at line 202 of file qr.h.

References TNT::Vector< T >::dim(), TNT::Vector< T >::lbound(), and R_solve().

template<class MaTRiX , class Vector >
int TNT::R_solve ( const MaTRiX &  A,
Vector &  D,
Vector &  b 
)

Definition at line 165 of file qr.h.

References TNT::Vector< T >::dim(), and TNT::Vector< T >::lbound().

Referenced by QR_solve().

double TNT::seconds ( void  )
inline

Definition at line 52 of file stopwatch.h.

Referenced by TNT::stopwatch::read(), TNT::stopwatch::start(), and TNT::stopwatch::stop().

double TNT::sign ( double  a)
inline

Definition at line 92 of file tntmath.h.

Referenced by QR_factor().

float TNT::sign ( float  a)
inline

Definition at line 99 of file tntmath.h.

int TNT::singular_value_decomposition_general_rectangular_matrix_solve ( const Fortran_Matrix< double > &  A,
Vector< double > &  ret_S,
Fortran_Matrix< double > &  ret_U,
Fortran_Matrix< double > &  ret_VT 
)

solve general eigenproblem.

computes singular value decomposition of a rectangular m x n matrix A calls extern liblapack routine. Jan Woetzel 03/2002

Definition at line 301 of file lapack.h.

References TNT::Fortran_Matrix< T >::num_cols(), TNT::Fortran_Matrix< T >::num_rows(), and singular_value_decomposition_general_rectangular_matrix_solve().

Referenced by singular_value_decomposition_general_rectangular_matrix_solve().

template<class T >
Fortran_Matrix<T> TNT::transpose ( const Fortran_Matrix< T > &  A)
template<class T >
Matrix<T> TNT::transpose ( const Matrix< T > &  A)
template<class Matrix >
Transpose_View<Matrix> TNT::Transpose_view ( const Matrix &  A)

Definition at line 103 of file transv.h.

template<class MaTriX , class VecToR >
VecToR TNT::Unit_lower_triangular_solve ( MaTriX &  A,
VecToR &  b 
)

Definition at line 73 of file trisolve.h.

Referenced by linear_solve().

template<class MaTRiX >
UnitLowerTriangularView<MaTRiX> TNT::Unit_lower_triangular_view ( MaTRiX &  A)

Definition at line 253 of file triang.h.

template<class MaTriX , class VecToR >
VecToR TNT::Unit_upper_triangular_solve ( MaTriX &  A,
VecToR &  b 
)

Definition at line 147 of file trisolve.h.

Referenced by linear_solve().

template<class MaTRiX >
UnitUpperTriangularView<MaTRiX> TNT::Unit_upper_triangular_view ( MaTRiX &  A)

Definition at line 551 of file triang.h.

Vector<double> TNT::Upper_symmetric_eigenvalue_solve ( const Fortran_Matrix< double > &  A)
template<class MaTriX , class VecToR >
VecToR TNT::Upper_triangular_solve ( MaTriX &  A,
VecToR &  b 
)

Definition at line 119 of file trisolve.h.

Referenced by linear_solve().

template<class MaTRiX >
UpperTriangularView<MaTRiX> TNT::Upper_triangular_view ( MaTRiX &  A)

Definition at line 543 of file triang.h.