func_exponential.hpp
00001 
00002 // OpenGL Mathematics Copyright (c) 2005 - 2011 G-Truc Creation (www.g-truc.net)
00004 // Created : 2008-08-08
00005 // Updated : 2010-02-04
00006 // Licence : This source is under MIT License
00007 // File    : glm/core/func_exponential.hpp
00009 
00010 #ifndef glm_core_func_exponential
00011 #define glm_core_func_exponential
00012 
00013 namespace glm
00014 {
00015         namespace core{
00016         namespace function{
00018         namespace exponential{
00019 
00022 
00027         template <typename genType> 
00028         genType pow(genType const & x, genType const & y);
00029 
00034         template <typename genType> 
00035         genType exp(genType const & x);
00036 
00043         template <typename genType> 
00044         genType log(genType const & x);
00045 
00050         template <typename genType> 
00051         genType exp2(genType const & x);
00052 
00058         template <typename genType> 
00059         genType log2(genType const & x);
00060 
00065         template <typename genType> 
00066         genType sqrt(genType const & x);
00067     
00072         template <typename genType> 
00073         genType inversesqrt(genType const & x);
00074 
00076 
00077         }//namespace exponential
00078         }//namespace function
00079         }//namespace core
00080 
00081         using namespace core::function::exponential;
00082 }//namespace glm
00083 
00084 #include "func_exponential.inl"
00085 
00086 #endif//glm_core_func_exponential