2012-09-05 22:30:34 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
2012-11-18 13:05:52 +00:00
< meta http-equiv = "X-UA-Compatible" content = "IE=9" / >
2014-11-25 00:28:32 +00:00
< meta name = "generator" content = "Doxygen 1.8.8" / >
< title > 0.9.6: Exponential functions< / title >
2012-09-05 22:30:34 +00:00
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
2012-11-18 13:05:52 +00:00
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
2012-09-05 22:30:34 +00:00
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
2012-11-18 13:05:52 +00:00
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
2012-09-05 22:30:34 +00:00
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
2014-11-25 00:28:32 +00:00
< td id = "projectlogo" > < img alt = "Logo" src = "logo.png" / > < / td >
2013-12-25 22:48:55 +00:00
< td style = "padding-left: 0.5em;" >
2014-11-25 00:28:32 +00:00
< div id = "projectname" > 0.9.6
2013-12-25 22:48:55 +00:00
< / div >
< / td >
2012-09-05 22:30:34 +00:00
< / tr >
< / tbody >
< / table >
< / div >
2012-11-18 13:05:52 +00:00
<!-- end header part -->
2014-11-25 00:28:32 +00:00
<!-- Generated by Doxygen 1.8.8 -->
2012-09-05 22:30:34 +00:00
< div id = "navrow1" class = "tabs" >
< ul class = "tablist" >
< li > < a href = "index.html" > < span > Main  Page< / span > < / a > < / li >
< li > < a href = "modules.html" > < span > Modules< / span > < / a > < / li >
< li > < a href = "files.html" > < span > Files< / span > < / a > < / li >
< / ul >
< / div >
2012-11-18 13:05:52 +00:00
< / div > <!-- top -->
2012-09-05 22:30:34 +00:00
< div class = "header" >
< div class = "summary" >
< a href = "#func-members" > Functions< / a > < / div >
< div class = "headertitle" >
2014-11-25 00:28:32 +00:00
< div class = "title" > Exponential functions< div class = "ingroups" > < a class = "el" href = "a00161.html" > GLM Core< / a > < / div > < / div > < / div >
2013-12-25 22:48:55 +00:00
< / div > <!-- header -->
2012-09-05 22:30:34 +00:00
< div class = "contents" >
< table class = "memberdecls" >
2012-11-18 13:05:52 +00:00
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "func-members" > < / a >
2012-09-05 22:30:34 +00:00
Functions< / h2 > < / td > < / tr >
2014-11-25 00:28:32 +00:00
< tr class = "memitem:ga25e54a7f44fc49ec6ac6ffc7675cf04a" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P, template< typename, precision > class vecType> < / td > < / tr >
< tr class = "memitem:ga25e54a7f44fc49ec6ac6ffc7675cf04a" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL vecType< T, P >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00151.html#ga25e54a7f44fc49ec6ac6ffc7675cf04a" > exp< / a > (vecType< T, P > const & v)< / td > < / tr >
< tr class = "separator:ga25e54a7f44fc49ec6ac6ffc7675cf04a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga42ca440d9062f1f456f5a9e896378f9c" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P, template< typename, precision > class vecType> < / td > < / tr >
< tr class = "memitem:ga42ca440d9062f1f456f5a9e896378f9c" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL vecType< T, P >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00151.html#ga42ca440d9062f1f456f5a9e896378f9c" > exp2< / a > (vecType< T, P > const & v)< / td > < / tr >
< tr class = "separator:ga42ca440d9062f1f456f5a9e896378f9c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga599103d4fe4ef2234761ba8da7268627" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P, template< typename, precision > class vecType> < / td > < / tr >
< tr class = "memitem:ga599103d4fe4ef2234761ba8da7268627" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL vecType< T, P >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00151.html#ga599103d4fe4ef2234761ba8da7268627" > inversesqrt< / a > (vecType< T, P > const & v)< / td > < / tr >
< tr class = "separator:ga599103d4fe4ef2234761ba8da7268627" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga21efca311e62d233de0ae96bab126b83" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P, template< typename, precision > class vecType> < / td > < / tr >
< tr class = "memitem:ga21efca311e62d233de0ae96bab126b83" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL vecType< T, P >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00151.html#ga21efca311e62d233de0ae96bab126b83" > log< / a > (vecType< T, P > const & v)< / td > < / tr >
< tr class = "separator:ga21efca311e62d233de0ae96bab126b83" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gabae30945338a555a03733f00dad95d0d" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P, template< typename, precision > class vecType> < / td > < / tr >
< tr class = "memitem:gabae30945338a555a03733f00dad95d0d" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL vecType< T, P >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00151.html#gabae30945338a555a03733f00dad95d0d" > log2< / a > (vecType< T, P > const & v)< / td > < / tr >
< tr class = "separator:gabae30945338a555a03733f00dad95d0d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga082b332a4b7c6ad1d43e09ff19e214dd" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P, template< typename, precision > class vecType> < / td > < / tr >
< tr class = "memitem:ga082b332a4b7c6ad1d43e09ff19e214dd" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL vecType< T, P >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00151.html#ga082b332a4b7c6ad1d43e09ff19e214dd" > pow< / a > (vecType< T, P > const & base, vecType< T, P > const & exponent)< / td > < / tr >
< tr class = "separator:ga082b332a4b7c6ad1d43e09ff19e214dd" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gae7ac2e44c14d4e8004098d0bfba6e2b8" > < td class = "memTemplParams" colspan = "2" > template< typename T , precision P, template< typename, precision > class vecType> < / td > < / tr >
< tr class = "memitem:gae7ac2e44c14d4e8004098d0bfba6e2b8" > < td class = "memTemplItemLeft" align = "right" valign = "top" > GLM_FUNC_DECL vecType< T, P >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "a00151.html#gae7ac2e44c14d4e8004098d0bfba6e2b8" > sqrt< / a > (vecType< T, P > const & v)< / td > < / tr >
< tr class = "separator:gae7ac2e44c14d4e8004098d0bfba6e2b8" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2012-09-05 22:30:34 +00:00
< / table >
2012-11-18 13:05:52 +00:00
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
2014-11-25 00:28:32 +00:00
< p > These all operate component-wise. < / p >
< p > The description is per component. < / p >
< h2 class = "groupheader" > Function Documentation< / h2 >
< a class = "anchor" id = "ga25e54a7f44fc49ec6ac6ffc7675cf04a" > < / a >
2012-11-18 13:05:52 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2014-11-25 00:28:32 +00:00
< td class = "memname" > GLM_FUNC_DECL vecType< T, P> glm::exp < / td >
< td > (< / td >
< td class = "paramtype" > vecType< T, P > const &   < / td >
< td class = "paramname" > < em > v< / em > < / td > < td > )< / td >
< td > < / td >
2012-11-18 13:05:52 +00:00
< / tr >
2013-12-25 22:48:55 +00:00
< / table >
< / div > < div class = "memdoc" >
2014-11-25 00:28:32 +00:00
< p > Returns the natural exponentiation of x, i.e., e^x. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > v< / td > < td > exp function is defined for input values of v defined in the range (inf-, inf+) in the limit of the type precision. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "tparams" > < dt > Template Parameters< / dt > < dd >
< table class = "tparams" >
< tr > < td class = "paramname" > genType< / td > < td > Floating-point scalar or vector types.< / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section see" > < dt > See also< / dt > < dd > < a href = "http://www.opengl.org/sdk/docs/manglsl/xhtml/exp.xml" > GLSL exp man page< / a > < / dd >
< dd >
< a href = "http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf" > GLSL 4.20.8 specification, section 8.2 Exponential Functions< / a > < / dd > < / dl >
< / div >
< / div >
< a class = "anchor" id = "ga42ca440d9062f1f456f5a9e896378f9c" > < / a >
2013-12-25 22:48:55 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2012-11-18 13:05:52 +00:00
< tr >
2014-11-25 00:28:32 +00:00
< td class = "memname" > GLM_FUNC_DECL vecType< T, P> glm::exp2 < / td >
< td > (< / td >
< td class = "paramtype" > vecType< T, P > const &   < / td >
< td class = "paramname" > < em > v< / em > < / td > < td > )< / td >
< td > < / td >
2012-11-18 13:05:52 +00:00
< / tr >
2013-12-25 22:48:55 +00:00
< / table >
< / div > < div class = "memdoc" >
2014-11-25 00:28:32 +00:00
< p > Returns 2 raised to the v power. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > v< / td > < td > exp2 function is defined for input values of v defined in the range (inf-, inf+) in the limit of the type precision. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "tparams" > < dt > Template Parameters< / dt > < dd >
< table class = "tparams" >
< tr > < td class = "paramname" > genType< / td > < td > Floating-point scalar or vector types.< / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section see" > < dt > See also< / dt > < dd > < a href = "http://www.opengl.org/sdk/docs/manglsl/xhtml/exp2.xml" > GLSL exp2 man page< / a > < / dd >
< dd >
< a href = "http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf" > GLSL 4.20.8 specification, section 8.2 Exponential Functions< / a > < / dd > < / dl >
< / div >
< / div >
< a class = "anchor" id = "ga599103d4fe4ef2234761ba8da7268627" > < / a >
2013-12-25 22:48:55 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2012-11-18 13:05:52 +00:00
< tr >
2014-11-25 00:28:32 +00:00
< td class = "memname" > GLM_FUNC_DECL vecType< T, P> glm::inversesqrt < / td >
< td > (< / td >
< td class = "paramtype" > vecType< T, P > const &   < / td >
< td class = "paramname" > < em > v< / em > < / td > < td > )< / td >
< td > < / td >
2012-11-18 13:05:52 +00:00
< / tr >
2013-12-25 22:48:55 +00:00
< / table >
< / div > < div class = "memdoc" >
2014-11-25 00:28:32 +00:00
< p > Returns the reciprocal of the positive square root of v. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > v< / td > < td > inversesqrt function is defined for input values of v defined in the range [0, inf+) in the limit of the type precision. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "tparams" > < dt > Template Parameters< / dt > < dd >
< table class = "tparams" >
< tr > < td class = "paramname" > genType< / td > < td > Floating-point scalar or vector types.< / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section see" > < dt > See also< / dt > < dd > < a href = "http://www.opengl.org/sdk/docs/manglsl/xhtml/inversesqrt.xml" > GLSL inversesqrt man page< / a > < / dd >
< dd >
< a href = "http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf" > GLSL 4.20.8 specification, section 8.2 Exponential Functions< / a > < / dd > < / dl >
< / div >
< / div >
< a class = "anchor" id = "ga21efca311e62d233de0ae96bab126b83" > < / a >
2013-12-25 22:48:55 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2012-11-18 13:05:52 +00:00
< tr >
2014-11-25 00:28:32 +00:00
< td class = "memname" > GLM_FUNC_DECL vecType< T, P> glm::log < / td >
< td > (< / td >
< td class = "paramtype" > vecType< T, P > const &   < / td >
< td class = "paramname" > < em > v< / em > < / td > < td > )< / td >
< td > < / td >
2012-11-18 13:05:52 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2014-11-25 00:28:32 +00:00
< p > Returns the natural logarithm of v, i.e., returns the value y which satisfies the equation x = e^y. < / p >
< p > Results are undefined if v < = 0.< / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > v< / td > < td > log function is defined for input values of v defined in the range (0, inf+) in the limit of the type precision. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "tparams" > < dt > Template Parameters< / dt > < dd >
< table class = "tparams" >
< tr > < td class = "paramname" > genType< / td > < td > Floating-point scalar or vector types.< / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section see" > < dt > See also< / dt > < dd > < a href = "http://www.opengl.org/sdk/docs/manglsl/xhtml/log.xml" > GLSL log man page< / a > < / dd >
< dd >
< a href = "http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf" > GLSL 4.20.8 specification, section 8.2 Exponential Functions< / a > < / dd > < / dl >
< / div >
< / div >
< a class = "anchor" id = "gabae30945338a555a03733f00dad95d0d" > < / a >
2012-11-18 13:05:52 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2014-11-25 00:28:32 +00:00
< td class = "memname" > GLM_FUNC_DECL vecType< T, P> glm::log2 < / td >
< td > (< / td >
< td class = "paramtype" > vecType< T, P > const &   < / td >
< td class = "paramname" > < em > v< / em > < / td > < td > )< / td >
< td > < / td >
2012-11-18 13:05:52 +00:00
< / tr >
2013-12-25 22:48:55 +00:00
< / table >
< / div > < div class = "memdoc" >
2014-11-25 00:28:32 +00:00
< p > Returns the base 2 log of x, i.e., returns the value y, which satisfies the equation x = 2 ^ y. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > v< / td > < td > log2 function is defined for input values of v defined in the range (0, inf+) in the limit of the type precision. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "tparams" > < dt > Template Parameters< / dt > < dd >
< table class = "tparams" >
< tr > < td class = "paramname" > genType< / td > < td > Floating-point scalar or vector types.< / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section see" > < dt > See also< / dt > < dd > < a href = "http://www.opengl.org/sdk/docs/manglsl/xhtml/log2.xml" > GLSL log2 man page< / a > < / dd >
< dd >
< a href = "http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf" > GLSL 4.20.8 specification, section 8.2 Exponential Functions< / a > < / dd > < / dl >
< / div >
< / div >
< a class = "anchor" id = "ga082b332a4b7c6ad1d43e09ff19e214dd" > < / a >
2013-12-25 22:48:55 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2012-11-18 13:05:52 +00:00
< tr >
2014-11-25 00:28:32 +00:00
< td class = "memname" > GLM_FUNC_DECL vecType< T, P> glm::pow < / td >
< td > (< / td >
< td class = "paramtype" > vecType< T, P > const &   < / td >
< td class = "paramname" > < em > base< / em > , < / td >
2012-11-18 13:05:52 +00:00
< / tr >
< tr >
2014-11-25 00:28:32 +00:00
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > vecType< T, P > const &   < / td >
< td class = "paramname" > < em > exponent< / em >   < / td >
2012-11-18 13:05:52 +00:00
< / tr >
< tr >
2014-11-25 00:28:32 +00:00
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
2012-11-18 13:05:52 +00:00
< / tr >
2013-12-25 22:48:55 +00:00
< / table >
< / div > < div class = "memdoc" >
2014-11-25 00:28:32 +00:00
< p > Returns 'base' raised to the power 'exponent'. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > base< / td > < td > Floating point value. pow function is defined for input values of 'base' defined in the range (inf-, inf+) in the limit of the type precision. < / td > < / tr >
< tr > < td class = "paramname" > exponent< / td > < td > Floating point value representing the 'exponent'. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "tparams" > < dt > Template Parameters< / dt > < dd >
< table class = "tparams" >
< tr > < td class = "paramname" > genType< / td > < td > Floating-point scalar or vector types.< / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section see" > < dt > See also< / dt > < dd > < a href = "http://www.opengl.org/sdk/docs/manglsl/xhtml/pow.xml" > GLSL pow man page< / a > < / dd >
< dd >
< a href = "http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf" > GLSL 4.20.8 specification, section 8.2 Exponential Functions< / a > < / dd > < / dl >
< / div >
< / div >
< a class = "anchor" id = "gae7ac2e44c14d4e8004098d0bfba6e2b8" > < / a >
2013-12-25 22:48:55 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2012-11-18 13:05:52 +00:00
< tr >
2014-11-25 00:28:32 +00:00
< td class = "memname" > GLM_FUNC_DECL vecType< T, P> glm::sqrt < / td >
< td > (< / td >
< td class = "paramtype" > vecType< T, P > const &   < / td >
< td class = "paramname" > < em > v< / em > < / td > < td > )< / td >
< td > < / td >
2012-11-18 13:05:52 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2014-11-25 00:28:32 +00:00
< p > Returns the positive square root of v. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > v< / td > < td > sqrt function is defined for input values of v defined in the range [0, inf+) in the limit of the type precision. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "tparams" > < dt > Template Parameters< / dt > < dd >
< table class = "tparams" >
< tr > < td class = "paramname" > genType< / td > < td > Floating-point scalar or vector types.< / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section see" > < dt > See also< / dt > < dd > < a href = "http://www.opengl.org/sdk/docs/manglsl/xhtml/sqrt.xml" > GLSL sqrt man page< / a > < / dd >
< dd >
< a href = "http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf" > GLSL 4.20.8 specification, section 8.2 Exponential Functions< / a > < / dd > < / dl >
2012-11-18 13:05:52 +00:00
< / div >
< / div >
< / div > <!-- contents -->
<!-- start footer part -->
2012-09-05 22:30:34 +00:00
< hr class = "footer" / > < address class = "footer" > < small >
Generated by   < a href = "http://www.doxygen.org/index.html" >
< img class = "footer" src = "doxygen.png" alt = "doxygen" / >
2014-11-25 00:28:32 +00:00
< / a > 1.8.8
2012-09-05 22:30:34 +00:00
< / small > < / address >
< / body >
< / html >