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

ShLibTrig.hpp

00001 // Sh: A GPU metaprogramming language.
00002 //
00003 // Copyright 2003-2005 Serious Hack Inc.
00004 // 
00005 // This software is provided 'as-is', without any express or implied
00006 // warranty. In no event will the authors be held liable for any damages
00007 // arising from the use of this software.
00008 // 
00009 // Permission is granted to anyone to use this software for any purpose,
00010 // including commercial applications, and to alter it and redistribute it
00011 // freely, subject to the following restrictions:
00012 // 
00013 // 1. The origin of this software must not be misrepresented; you must
00014 // not claim that you wrote the original software. If you use this
00015 // software in a product, an acknowledgment in the product documentation
00016 // would be appreciated but is not required.
00017 // 
00018 // 2. Altered source versions must be plainly marked as such, and must
00019 // not be misrepresented as being the original software.
00020 // 
00021 // 3. This notice may not be removed or altered from any source
00022 // distribution.
00024 #ifndef SHLIBTRIG_HPP
00025 #define SHLIBTRIG_HPP
00026 
00027 #include "ShGeneric.hpp"
00028 #include "ShLib.hpp"
00029 
00030 
00031 #ifndef WIN32
00032 namespace SH {
00033 
00045 template<int N, typename T>
00046 ShGeneric<N, T> acos(const ShGeneric<N, T>& var);
00047 
00053 template<int N, typename T>
00054 ShGeneric<N, T> asin(const ShGeneric<N, T>& var);
00055 
00060 template<int N, typename T>
00061 ShGeneric<N, T> atan(const ShGeneric<N, T>& var);
00062 
00067 template<int N, typename T>
00068 ShGeneric<N, T> atan2(const ShGeneric<N, T>& y, const ShGeneric<N, T>& x);
00069 
00075 template<int N, typename T>
00076 ShGeneric<N, T> cos(const ShGeneric<N, T>& var);
00077 
00083 template<int N, typename T>
00084 ShGeneric<N, T> sin(const ShGeneric<N, T>& var);
00085 
00090 template<int N, typename T>
00091 ShGeneric<N, T> tan(const ShGeneric<N, T>& var);
00092 
00097 template<int N, typename T>
00098 ShGeneric<N, T> cosh(const ShGeneric<N, T>& var);
00099 
00104 template<int N, typename T>
00105 ShGeneric<N, T> sinh(const ShGeneric<N, T>& var);
00106 
00111 template<int N, typename T>
00112 ShGeneric<N, T> tanh(const ShGeneric<N, T>& var);
00113 
00116 }
00117 #endif
00118 
00119 #include "ShLibTrigImpl.hpp"
00120 
00121 #endif

Generated on Wed Jun 15 18:12:40 2005 for Sh by  doxygen 1.4.3-20050530