Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ShLibDeriv.hpp

00001 // Sh: A GPU metaprogramming language.
00002 //
00003 // Copyright 2003-2005 Serious Hack Inc.
00004 // 
00005 // This library is free software; you can redistribute it and/or
00006 // modify it under the terms of the GNU Lesser General Public
00007 // License as published by the Free Software Foundation; either
00008 // version 2.1 of the License, or (at your option) any later version.
00009 //
00010 // This library is distributed in the hope that it will be useful,
00011 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013 // Lesser General Public License for more details.
00014 //
00015 // You should have received a copy of the GNU Lesser General Public
00016 // License along with this library; if not, write to the Free Software
00017 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
00018 // MA  02110-1301, USA
00020 #include "ShLib.hpp" // ShLibDeriv needs to be included from within ShLib
00021 
00022 #ifndef SHLIBDERIV_HPP
00023 #define SHLIBDERIV_HPP
00024 
00025 #include "ShGeneric.hpp"
00026 #include "ShMatrix.hpp"
00027 
00028 #ifndef WIN32
00029 namespace SH {
00030 
00039 template<int N, typename T>
00040 ShGeneric<N, T> dx(const ShGeneric<N, T>& var);
00041 
00044 template<int N, typename T>
00045 ShGeneric<N, T> dy(const ShGeneric<N, T>& var);
00046 
00049 template<int N, typename T>
00050 ShGeneric<N, T> fwidth(const ShGeneric<N, T>& var);
00051 
00054 template<typename T>
00055 ShGeneric<2, T> gradient(const ShGeneric<1, T>& var);
00056 
00059 template<int N, typename T>
00060 ShMatrix<2, N, SH_TEMP, T> jacobian(const ShGeneric<N, T>& var);
00061 
00064 }
00065 #endif
00066 
00067 #include "ShLibDerivImpl.hpp"
00068 
00069 #endif

Generated on Thu Jul 28 17:33:03 2005 for Sh by  doxygen 1.4.3-20050530