ShLibTrig.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" // ShLibTrig needs to be included from within ShLib
00021 
00022 #ifndef SHLIBTRIG_HPP
00023 #define SHLIBTRIG_HPP
00024 
00025 #include "ShGeneric.hpp"
00026 
00027 #ifndef WIN32
00028 namespace SH {
00029 
00041 template<int N, typename T>
00042 ShGeneric<N, T> acos(const ShGeneric<N, T>& var);
00043 
00049 template<int N, typename T>
00050 ShGeneric<N, T> asin(const ShGeneric<N, T>& var);
00051 
00056 template<int N, typename T>
00057 ShGeneric<N, T> atan(const ShGeneric<N, T>& var);
00058 
00063 template<int N, typename T>
00064 ShGeneric<N, T> atan2(const ShGeneric<N, T>& y, const ShGeneric<N, T>& x);
00065 
00071 template<int N, typename T>
00072 ShGeneric<N, T> cos(const ShGeneric<N, T>& var);
00073 
00079 template<int N, typename T>
00080 ShGeneric<N, T> sin(const ShGeneric<N, T>& var);
00081 
00086 template<int N, typename T>
00087 ShGeneric<N, T> tan(const ShGeneric<N, T>& var);
00088 
00093 template<int N, typename T>
00094 ShGeneric<N, T> cosh(const ShGeneric<N, T>& var);
00095 
00100 template<int N, typename T>
00101 ShGeneric<N, T> sinh(const ShGeneric<N, T>& var);
00102 
00107 template<int N, typename T>
00108 ShGeneric<N, T> tanh(const ShGeneric<N, T>& var);
00109 
00114 template<int N, typename T>
00115 ShGeneric<N, T> acosh(const ShGeneric<N, T>& var);
00116 
00121 template<int N, typename T>
00122 ShGeneric<N, T> asinh(const ShGeneric<N, T>& var);
00123 
00128 template<int N, typename T>
00129 ShGeneric<N, T> atanh(const ShGeneric<N, T>& var);
00132 }
00133 #endif
00134 
00135 #include "ShLibTrigImpl.hpp"
00136 
00137 #endif

Generated on Wed Nov 9 15:29:35 2005 for Sh by  doxygen 1.4.5