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 test{
00016                 void main_core_func_exponential();
00017         }//namespace test
00018 
00019         namespace core{
00020         namespace function{
00022         namespace exponential{
00023 
00026 
00029         template <typename genType> 
00030         genType pow(genType const & x, genType const & y);
00031 
00034         template <typename genType> 
00035         genType exp(genType const & x);
00036 
00041         template <typename genType> 
00042         genType log(genType const & x);
00043 
00046         template <typename genType> 
00047         genType exp2(genType const & x);
00048 
00052         template <typename genType> 
00053         genType log2(genType const & x);
00054 
00057         template <typename genType> 
00058         genType sqrt(genType const & x);
00059     
00062         template <typename genType> 
00063         genType inversesqrt(genType const & x);
00064 
00066 
00067         }//namespace exponential
00068         }//namespace function
00069         }//namespace core
00070 
00071         using namespace core::function::exponential;
00072 }//namespace glm
00073 
00074 #include "func_exponential.inl"
00075 
00076 #endif//glm_core_func_exponential