GLM Version 0.9.0

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         template <typename genType> 
00027         genType pow(genType const & x, genType const & y);
00028 
00031         template <typename genType> 
00032         genType exp(genType const & x);
00033 
00038         template <typename genType> 
00039         genType log(genType const & x);
00040 
00043         template <typename genType> 
00044         genType exp2(genType const & x);
00045 
00049         template <typename genType> 
00050         genType log2(genType const & x);
00051 
00054         template <typename genType> 
00055         genType sqrt(genType const & x);
00056     
00059         template <typename genType> 
00060         genType inversesqrt(genType const & x);
00061 
00062         }//namespace exponential
00063         }//namespace function
00064         }//namespace core
00065 
00066         using namespace core::function::exponential;
00067 }//namespace glm
00068 
00069 #include "func_exponential.inl"
00070 
00071 #endif//glm_core_func_exponential