|
DenseLinAlgPack: Concreate C++ Classes for Dense Blas-Compatible Linear Algebra Version of the Day
|
00001 // @HEADER 00002 // *********************************************************************** 00003 // 00004 // Moocho: Multi-functional Object-Oriented arCHitecture for Optimization 00005 // Copyright (2003) Sandia Corporation 00006 // 00007 // Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive 00008 // license for use of this work by or on behalf of the U.S. Government. 00009 // 00010 // This library is free software; you can redistribute it and/or modify 00011 // it under the terms of the GNU Lesser General Public License as 00012 // published by the Free Software Foundation; either version 2.1 of the 00013 // License, or (at your option) any later version. 00014 // 00015 // This library is distributed in the hope that it will be useful, but 00016 // WITHOUT ANY WARRANTY; without even the implied warranty of 00017 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00018 // Lesser General Public License for more details. 00019 // 00020 // You should have received a copy of the GNU Lesser General Public 00021 // License along with this library; if not, write to the Free Software 00022 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 00023 // USA 00024 // Questions? Contact Roscoe A. Bartlett (rabartl@sandia.gov) 00025 // 00026 // *********************************************************************** 00027 // @HEADER 00028 00029 #ifndef LINALGPACK_TYPES_H 00030 #define LINALGPACK_TYPES_H 00031 00032 #include "DenseLinAlgPack_Options.hpp" 00033 #include "RangePack_Range1D.hpp" 00034 #include "BLAS_Cpp_Types.hpp" 00035 #include "Teuchos_TypeNameTraits.hpp" 00036 #include "Teuchos_TestForException.hpp" 00037 00038 namespace MemMngPack {} 00039 00040 namespace DenseLinAlgPack { 00041 00042 using Teuchos::typeName; 00043 using Teuchos::TypeNameTraits; 00044 00045 /* * @name {\bf DenseLinAlgPack Type Declarations}. 00046 * 00047 * These are forward declarations of the types used with the DenseLinAlgPack 00048 * package (namespace). In addition the BLAS_Cpp enumerations 00049 * \Ref{Transp}, \Ref{Side}, \Ref{Uplo}, and \Ref{Diag} and there values 00050 * are avalible using the qualifier #BLAS_Cpp#. 00051 */ 00052 00053 // @{ 00054 00056 using RangePack::Range1D; 00057 #ifdef _INTEL_CXX 00058 using RangePack::full_range; 00059 #endif 00060 00061 using BLAS_Cpp::rows; 00063 using BLAS_Cpp::cols; 00065 using BLAS_Cpp::trans_not; 00066 00068 enum EOverLap { NO_OVERLAP = 0, SOME_OVERLAP, SAME_MEM }; 00069 00071 class IVector; 00073 class Range1D; 00075 template<class T> 00076 class VectorTmpl; 00078 template<class T> 00079 class VectorSliceTmpl; 00081 typedef VectorTmpl<value_type> DVector; 00083 typedef VectorSliceTmpl<value_type> DVectorSlice; 00085 typedef VectorTmpl<extended_value_type> VectorExt; 00087 typedef VectorSliceTmpl<extended_value_type> VectorSliceExt; 00089 class TransVectorSlice; 00091 class DMatrix; 00093 class DMatrixSlice; 00095 class TransGenMatrixSlice; 00097 class DMatrixSliceTriEle; 00099 class DMatrixSliceTri; 00101 class DMatrixSliceSym; 00102 00103 // @} 00104 00105 } // namespace DenseLinAlgPack 00106 00107 #endif // LINALGPACK_TYPES_H
1.7.4