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

sample69.cpp File Reference

#include <iostream>
#include <boost/timer.hpp>
#include <boost/numeric/ublas/matrix.hpp>
#include <boost/numeric/ublas/banded.hpp>
#include <boost/numeric/ublas/matrix_sparse.hpp>
#include <boost/numeric/ublas/triangular.hpp>
#include <boost/numeric/ublas/operation.hpp>
#include <boost/numeric/ublas/io.hpp>
#include <boost/numeric/ublas/lu.hpp>

Go to the source code of this file.

Functions

template<class Matrix> void spy (std::ostream &os, const Matrix &A)
void test_column_major (size_t size)
void test_row_major (size_t size)
void test_column_major_axpy (size_t size)
void test_row_major_axpy (size_t size)
int main (size_t argc, char *argv[])

Variables

const size_t default_size = 100
const size_t sub1 = 1
const size_t sub2 = 10
const size_t sup1 = 1
const size_t sup2 = 10


Function Documentation

int main size_t  argc,
char *  argv[]
 

Definition at line 506 of file sample69.cpp.

References default_size, test_column_major(), test_column_major_axpy(), test_row_major(), and test_row_major_axpy().

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

Definition at line 20 of file sample69.cpp.

void test_column_major size_t  size  ) 
 

Definition at line 56 of file sample69.cpp.

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

Referenced by main().

void test_column_major_axpy size_t  size  ) 
 

Definition at line 281 of file sample69.cpp.

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

Referenced by main().

void test_row_major size_t  size  ) 
 

Definition at line 160 of file sample69.cpp.

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

Referenced by main().

void test_row_major_axpy size_t  size  ) 
 

Definition at line 385 of file sample69.cpp.

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

Referenced by main().


Variable Documentation

const size_t default_size = 100
 

Definition at line 47 of file sample69.cpp.

const size_t sub1 = 1
 

Definition at line 51 of file sample69.cpp.

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

const size_t sub2 = 10
 

Definition at line 52 of file sample69.cpp.

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

const size_t sup1 = 1
 

Definition at line 53 of file sample69.cpp.

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

const size_t sup2 = 10
 

Definition at line 54 of file sample69.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