Main Page | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

fmat.h File Reference

#include "vec.h"
#include <stdlib.h>
#include <assert.h>
#include "region2d.h"

Go to the source code of this file.

Classes

class  Fortran_matrix
 A simple 1-based, column oriented Matrix class. More...


Functions

template<class T> ostream & operator<< (ostream &s, const Fortran_matrix< T > &A)
template<class T> istream & operator>> (istream &s, Fortran_matrix< T > &A)
template<class T> Fortran_matrix< T > operator+ (const Fortran_matrix< T > &A, const Fortran_matrix< T > &B)
template<class T> Fortran_matrix< T > operator- (const Fortran_matrix< T > &A, const Fortran_matrix< T > &B)
template<class T> Fortran_matrix< T > mult_element (const Fortran_matrix< T > &A, const Fortran_matrix< T > &B)
template<class T> Fortran_matrix< T > transpose (const Fortran_matrix< T > &A)
template<class T> Fortran_matrix< T > matmult (const Fortran_matrix< T > &A, const Fortran_matrix< T > &B)
template<class T> Fortran_matrix< T > operator * (const Fortran_matrix< T > &A, const Fortran_matrix< T > &B)
template<class T> int mat_diff (Fortran_matrix< T > &C, Fortran_matrix< T > &A, Fortran_matrix< T > &B)
template<class T> int mat_add (Fortran_matrix< T > &C, Fortran_matrix< T > &A, Fortran_matrix< T > &B)
template<class T> int mat_add_unit (Fortran_matrix< T > &C, Fortran_matrix< T > &A, const T &factor)
template<class T> T SProd (const Fortran_matrix< T > &A, const Fortran_matrix< T > &B)
template<class T> int mat_scale (Fortran_matrix< T > &C, Fortran_matrix< T > &A, const T &factor)
template<class T> int mat_copy_scale (Fortran_matrix< T > &C, const Fortran_matrix< T > &A, const T &factor)
template<class T> int matmult (Fortran_matrix< T > &C, const Fortran_matrix< T > &A, const Fortran_matrix< T > &B)
template<class T> NumVector< T > matmult (const Fortran_matrix< T > &A, const NumVector< T > &x)
template<class T> NumVector< T > operator * (const Fortran_matrix< T > &A, const NumVector< T > &x)
template<class T> Fortran_matrix< T > operator * (const Fortran_matrix< T > &A, const T &x)
template<class T> void raw_copy (T *to, const T *from, const int nelem)
template<class T> int matmult_T1 (Fortran_matrix< T > &C, const Fortran_matrix< T > &A, const Fortran_matrix< T > &B)
template<class T> int matmult_T2 (Fortran_matrix< T > &C, const Fortran_matrix< T > &A, const Fortran_matrix< T > &B)
template<class NumMatrix, class NumVector> int mat_symm_from_lin (NumMatrix &smat, const NumVector &slin, Subscript n)
template<class NumMatrix, class NumVector> int mat_asymm_from_lin (NumMatrix &smat, NumVector &slin, Subscript n)


Detailed Description

Template Numerical Toolkit (TNT) for Linear Algebra

BETA VERSION INCOMPLETE AND SUBJECT TO CHANGE Please see http://math.nist.gov/tnt for updates

R. Pozo Mathematical and Computational Sciences Division National Institute of Standards and Technology

Fortran-compatible matrix: column oriented, 1-based (i,j) indexing


Generated on Tue Feb 17 02:03:09 2004 for harlem by doxygen 1.3.6