Main Page | Namespace List | Data Structures | File List | Namespace Members | Data Fields | Globals

trisolve.cpp File Reference

#include <sys/time.h>
#include <unistd.h>
#include <iostream>
#include <boost/numeric/ublas/matrix.hpp>
#include <boost/numeric/ublas/matrix_sparse.hpp>
#include <boost/numeric/ublas/triangular.hpp>
#include <boost/numeric/ublas/vector.hpp>
#include <boost/numeric/ublas/io.hpp>
#include <boost/numeric/ublas/operation.hpp>

Go to the source code of this file.

Functions

template<class Matrix> void do_lu (Matrix &LU)
template<class Matrix> void spy (std::ostream &os, const Matrix &A)
template<class E1, class E2> BOOST_UBLAS_INLINE void inplace_solve (const matrix_expression< E1 > &e1, E2 &e2, unit_lower_tag, vector_tag, unknown_storage_tag)
template<class E1, class E2> BOOST_UBLAS_INLINE void inplace_solve1 (const matrix_expression< E1 > &e1, E2 &e2, upper_tag, vector_tag, unknown_storage_tag)
template<class E1, class E2> BOOST_UBLAS_INLINE void inplace_solve2 (const matrix_expression< E1 > &e1, E2 &e2, upper_tag, vector_tag, unknown_storage_tag)
int main (int argc, char *argv[])


Function Documentation

template<class Matrix>
void do_lu Matrix &  LU  ) 
 

Definition at line 35 of file trisolve.cpp.

Referenced by main().

template<class E1, class E2>
BOOST_UBLAS_INLINE void inplace_solve const matrix_expression< E1 > &  e1,
E2 &  e2,
unit_lower_tag  ,
vector_tag  ,
unknown_storage_tag 
 

Definition at line 96 of file trisolve.cpp.

Referenced by main().

template<class E1, class E2>
BOOST_UBLAS_INLINE void inplace_solve1 const matrix_expression< E1 > &  e1,
E2 &  e2,
upper_tag  ,
vector_tag  ,
unknown_storage_tag 
 

Definition at line 140 of file trisolve.cpp.

template<class E1, class E2>
BOOST_UBLAS_INLINE void inplace_solve2 const matrix_expression< E1 > &  e1,
E2 &  e2,
upper_tag  ,
vector_tag  ,
unknown_storage_tag 
 

Definition at line 180 of file trisolve.cpp.

int main int  argc,
char *  argv[]
 

Definition at line 215 of file trisolve.cpp.

References do_lu(), inplace_solve(), spy(), sub1, sub2, sup1, and sup2.

template<class Matrix>
void spy std::ostream &  os,
const Matrix &  A
 

Definition at line 71 of file trisolve.cpp.

Referenced by main(), test_column_major(), test_column_major_axpy(), test_row_major(), and test_row_major_axpy().


Generated on Wed Oct 1 14:41:00 2003 for Sample Code by doxygen 1.3.2