MathTL
|
00001 // -*- c++ -*- 00002 00003 // +--------------------------------------------------------------------+ 00004 // | This file is part of MathTL - the Mathematical Template Library | 00005 // | | 00006 // | Copyright (c) 2002-2009 | 00007 // | Thorsten Raasch, Manuel Werner | 00008 // +--------------------------------------------------------------------+ 00009 00010 #ifndef _MATHTL_INFINITE_MATRIX_H 00011 #define _MATHTL_INFINITE_MATRIX_H 00012 00013 namespace MathTL 00014 { 00019 template <class C, class I = int> 00020 class InfiniteDiagonalMatrix 00021 { 00022 public: 00026 virtual ~InfiniteDiagonalMatrix() = 0; 00027 00031 virtual double diag(const I& lambda) const = 0; 00032 }; 00033 } 00034 00035 #include <algebra/infinite_matrix.cpp> 00036 00037 #endif