glm/doc/api/a00146.html

375 lines
20 KiB
HTML
Raw Normal View History

2016-09-11 10:44:33 +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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.10"/>
2016-11-13 00:57:37 +00:00
<title>0.9.9 API documenation: Exponential functions</title>
2016-09-11 10:44:33 +00:00
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
2016-11-13 00:57:37 +00:00
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
2016-09-11 10:44:33 +00:00
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
2016-11-13 00:57:37 +00:00
<td id="projectlogo"><img alt="Logo" src="logo-mini.png"/></td>
2016-09-11 10:44:33 +00:00
<td id="projectalign" style="padding-left: 0.5em;">
2016-11-13 00:57:37 +00:00
<div id="projectname">0.9.9 API documenation
2016-09-11 10:44:33 +00:00
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
2016-11-13 00:57:37 +00:00
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
2016-09-11 10:44:33 +00:00
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
2016-11-13 00:57:37 +00:00
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
2016-09-11 10:44:33 +00:00
</ul>
</div>
</div><!-- top -->
2016-11-13 00:57:37 +00:00
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
2016-09-11 10:44:33 +00:00
<div class="header">
<div class="summary">
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
2016-11-12 23:39:32 +00:00
<div class="title">Exponential functions<div class="ingroups"><a class="el" href="a00155.html">GLM Core</a></div></div> </div>
2016-09-11 10:44:33 +00:00
</div><!--header-->
<div class="contents">
2016-11-12 23:39:32 +00:00
<p>These all operate component-wise.
<a href="#details">More...</a></p>
2016-09-11 10:44:33 +00:00
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
2016-11-12 23:39:32 +00:00
<tr class="memitem:ga25e54a7f44fc49ec6ac6ffc7675cf04a"><td class="memTemplParams" colspan="2">template&lt;typename T , precision P, template&lt; typename, precision &gt; class vecType&gt; </td></tr>
<tr class="memitem:ga25e54a7f44fc49ec6ac6ffc7675cf04a"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vecType&lt; T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00146.html#ga25e54a7f44fc49ec6ac6ffc7675cf04a">exp</a> (vecType&lt; T, P &gt; const &amp;v)</td></tr>
<tr class="memdesc:ga25e54a7f44fc49ec6ac6ffc7675cf04a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the natural exponentiation of x, i.e., e^x. <a href="a00146.html#ga25e54a7f44fc49ec6ac6ffc7675cf04a">More...</a><br /></td></tr>
<tr class="separator:ga25e54a7f44fc49ec6ac6ffc7675cf04a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga42ca440d9062f1f456f5a9e896378f9c"><td class="memTemplParams" colspan="2">template&lt;typename T , precision P, template&lt; typename, precision &gt; class vecType&gt; </td></tr>
<tr class="memitem:ga42ca440d9062f1f456f5a9e896378f9c"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vecType&lt; T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00146.html#ga42ca440d9062f1f456f5a9e896378f9c">exp2</a> (vecType&lt; T, P &gt; const &amp;v)</td></tr>
<tr class="memdesc:ga42ca440d9062f1f456f5a9e896378f9c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns 2 raised to the v power. <a href="a00146.html#ga42ca440d9062f1f456f5a9e896378f9c">More...</a><br /></td></tr>
<tr class="separator:ga42ca440d9062f1f456f5a9e896378f9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga599103d4fe4ef2234761ba8da7268627"><td class="memTemplParams" colspan="2">template&lt;typename T , precision P, template&lt; typename, precision &gt; class vecType&gt; </td></tr>
<tr class="memitem:ga599103d4fe4ef2234761ba8da7268627"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vecType&lt; T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00146.html#ga599103d4fe4ef2234761ba8da7268627">inversesqrt</a> (vecType&lt; T, P &gt; const &amp;v)</td></tr>
<tr class="memdesc:ga599103d4fe4ef2234761ba8da7268627"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the reciprocal of the positive square root of v. <a href="a00146.html#ga599103d4fe4ef2234761ba8da7268627">More...</a><br /></td></tr>
<tr class="separator:ga599103d4fe4ef2234761ba8da7268627"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga21efca311e62d233de0ae96bab126b83"><td class="memTemplParams" colspan="2">template&lt;typename T , precision P, template&lt; typename, precision &gt; class vecType&gt; </td></tr>
<tr class="memitem:ga21efca311e62d233de0ae96bab126b83"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vecType&lt; T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00146.html#ga21efca311e62d233de0ae96bab126b83">log</a> (vecType&lt; T, P &gt; const &amp;v)</td></tr>
<tr class="memdesc:ga21efca311e62d233de0ae96bab126b83"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the natural logarithm of v, i.e., returns the value y which satisfies the equation x = e^y. <a href="a00146.html#ga21efca311e62d233de0ae96bab126b83">More...</a><br /></td></tr>
<tr class="separator:ga21efca311e62d233de0ae96bab126b83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabae30945338a555a03733f00dad95d0d"><td class="memTemplParams" colspan="2">template&lt;typename T , precision P, template&lt; typename, precision &gt; class vecType&gt; </td></tr>
<tr class="memitem:gabae30945338a555a03733f00dad95d0d"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vecType&lt; T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00146.html#gabae30945338a555a03733f00dad95d0d">log2</a> (vecType&lt; T, P &gt; const &amp;v)</td></tr>
<tr class="memdesc:gabae30945338a555a03733f00dad95d0d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the base 2 log of x, i.e., returns the value y, which satisfies the equation x = 2 ^ y. <a href="a00146.html#gabae30945338a555a03733f00dad95d0d">More...</a><br /></td></tr>
<tr class="separator:gabae30945338a555a03733f00dad95d0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga082b332a4b7c6ad1d43e09ff19e214dd"><td class="memTemplParams" colspan="2">template&lt;typename T , precision P, template&lt; typename, precision &gt; class vecType&gt; </td></tr>
<tr class="memitem:ga082b332a4b7c6ad1d43e09ff19e214dd"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vecType&lt; T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00146.html#ga082b332a4b7c6ad1d43e09ff19e214dd">pow</a> (vecType&lt; T, P &gt; const &amp;base, vecType&lt; T, P &gt; const &amp;exponent)</td></tr>
<tr class="memdesc:ga082b332a4b7c6ad1d43e09ff19e214dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns 'base' raised to the power 'exponent'. <a href="a00146.html#ga082b332a4b7c6ad1d43e09ff19e214dd">More...</a><br /></td></tr>
<tr class="separator:ga082b332a4b7c6ad1d43e09ff19e214dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae7ac2e44c14d4e8004098d0bfba6e2b8"><td class="memTemplParams" colspan="2">template&lt;typename T , precision P, template&lt; typename, precision &gt; class vecType&gt; </td></tr>
<tr class="memitem:gae7ac2e44c14d4e8004098d0bfba6e2b8"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vecType&lt; T, P &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00146.html#gae7ac2e44c14d4e8004098d0bfba6e2b8">sqrt</a> (vecType&lt; T, P &gt; const &amp;v)</td></tr>
<tr class="memdesc:gae7ac2e44c14d4e8004098d0bfba6e2b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the positive square root of v. <a href="a00146.html#gae7ac2e44c14d4e8004098d0bfba6e2b8">More...</a><br /></td></tr>
<tr class="separator:gae7ac2e44c14d4e8004098d0bfba6e2b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
2016-09-11 10:44:33 +00:00
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>These all operate component-wise. </p>
<p>The description is per component. </p>
<h2 class="groupheader">Function Documentation</h2>
2016-11-12 23:39:32 +00:00
<a class="anchor" id="ga25e54a7f44fc49ec6ac6ffc7675cf04a"></a>
2016-09-11 10:44:33 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2016-11-12 23:39:32 +00:00
<td class="memname">GLM_FUNC_DECL vecType&lt;T, P&gt; glm::exp </td>
2016-09-11 10:44:33 +00:00
<td>(</td>
2016-11-12 23:39:32 +00:00
<td class="paramtype">vecType&lt; T, P &gt; const &amp;&#160;</td>
<td class="paramname"><em>v</em></td><td>)</td>
2016-09-11 10:44:33 +00:00
<td></td>
</tr>
</table>
</div><div class="memdoc">
2016-11-12 23:39: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>
2016-09-11 10:44:33 +00:00
</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>
2016-11-12 23:39:32 +00:00
<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>
2016-09-11 10:44:33 +00:00
<dd>
2016-11-12 23:39:32 +00:00
<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>
2016-09-11 10:44:33 +00:00
</div>
</div>
2016-11-12 23:39:32 +00:00
<a class="anchor" id="ga42ca440d9062f1f456f5a9e896378f9c"></a>
2016-09-11 10:44:33 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2016-11-12 23:39:32 +00:00
<td class="memname">GLM_FUNC_DECL vecType&lt;T, P&gt; glm::exp2 </td>
2016-09-11 10:44:33 +00:00
<td>(</td>
2016-11-12 23:39:32 +00:00
<td class="paramtype">vecType&lt; T, P &gt; const &amp;&#160;</td>
<td class="paramname"><em>v</em></td><td>)</td>
2016-09-11 10:44:33 +00:00
<td></td>
</tr>
</table>
</div><div class="memdoc">
2016-11-12 23:39: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>
2016-09-11 10:44:33 +00:00
</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>
2016-11-12 23:39:32 +00:00
<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>
2016-09-11 10:44:33 +00:00
<dd>
2016-11-12 23:39:32 +00:00
<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>
2016-09-11 10:44:33 +00:00
</div>
</div>
2016-11-12 23:39:32 +00:00
<a class="anchor" id="ga599103d4fe4ef2234761ba8da7268627"></a>
2016-09-11 10:44:33 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2016-11-12 23:39:32 +00:00
<td class="memname">GLM_FUNC_DECL vecType&lt;T, P&gt; glm::inversesqrt </td>
2016-09-11 10:44:33 +00:00
<td>(</td>
2016-11-12 23:39:32 +00:00
<td class="paramtype">vecType&lt; T, P &gt; const &amp;&#160;</td>
<td class="paramname"><em>v</em></td><td>)</td>
2016-09-11 10:44:33 +00:00
<td></td>
</tr>
</table>
</div><div class="memdoc">
2016-11-12 23:39: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>
2016-09-11 10:44:33 +00:00
</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>
2016-11-12 23:39:32 +00:00
<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>
2016-09-11 10:44:33 +00:00
<dd>
2016-11-12 23:39:32 +00:00
<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>
2016-09-11 10:44:33 +00:00
</div>
</div>
2016-11-12 23:39:32 +00:00
<a class="anchor" id="ga21efca311e62d233de0ae96bab126b83"></a>
2016-09-11 10:44:33 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2016-11-12 23:39:32 +00:00
<td class="memname">GLM_FUNC_DECL vecType&lt;T, P&gt; glm::log </td>
2016-09-11 10:44:33 +00:00
<td>(</td>
2016-11-12 23:39:32 +00:00
<td class="paramtype">vecType&lt; T, P &gt; const &amp;&#160;</td>
<td class="paramname"><em>v</em></td><td>)</td>
2016-09-11 10:44:33 +00:00
<td></td>
</tr>
</table>
</div><div class="memdoc">
2016-11-12 23:39: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 &lt;= 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>
2016-09-11 10:44:33 +00:00
</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>
2016-11-12 23:39:32 +00:00
<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>
2016-09-11 10:44:33 +00:00
<dd>
2016-11-12 23:39:32 +00:00
<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>
2016-09-11 10:44:33 +00:00
</div>
</div>
2016-11-12 23:39:32 +00:00
<a class="anchor" id="gabae30945338a555a03733f00dad95d0d"></a>
2016-09-11 10:44:33 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2016-11-12 23:39:32 +00:00
<td class="memname">GLM_FUNC_DECL vecType&lt;T, P&gt; glm::log2 </td>
2016-09-11 10:44:33 +00:00
<td>(</td>
<td class="paramtype">vecType&lt; T, P &gt; const &amp;&#160;</td>
2016-11-12 23:39:32 +00:00
<td class="paramname"><em>v</em></td><td>)</td>
2016-09-11 10:44:33 +00:00
<td></td>
</tr>
</table>
</div><div class="memdoc">
2016-11-12 23:39: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>
2016-09-11 10:44:33 +00:00
<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>
2016-11-12 23:39:32 +00:00
<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>
2016-09-11 10:44:33 +00:00
<dd>
2016-11-12 23:39:32 +00:00
<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>
2016-09-11 10:44:33 +00:00
</div>
</div>
2016-11-12 23:39:32 +00:00
<a class="anchor" id="ga082b332a4b7c6ad1d43e09ff19e214dd"></a>
2016-09-11 10:44:33 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2016-11-12 23:39:32 +00:00
<td class="memname">GLM_FUNC_DECL vecType&lt;T, P&gt; glm::pow </td>
2016-09-11 10:44:33 +00:00
<td>(</td>
2016-11-12 23:39:32 +00:00
<td class="paramtype">vecType&lt; T, P &gt; const &amp;&#160;</td>
<td class="paramname"><em>base</em>, </td>
2016-09-11 10:44:33 +00:00
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
2016-11-12 23:39:32 +00:00
<td class="paramtype">vecType&lt; T, P &gt; const &amp;&#160;</td>
<td class="paramname"><em>exponent</em>&#160;</td>
2016-09-11 10:44:33 +00:00
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
2016-11-12 23:39: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>
2016-09-11 10:44:33 +00:00
<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>
2016-11-12 23:39:32 +00:00
<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>
2016-09-11 10:44:33 +00:00
<dd>
2016-11-12 23:39:32 +00:00
<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>
2016-09-11 10:44:33 +00:00
</div>
</div>
2016-11-12 23:39:32 +00:00
<a class="anchor" id="gae7ac2e44c14d4e8004098d0bfba6e2b8"></a>
2016-09-11 10:44:33 +00:00
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
2016-11-12 23:39:32 +00:00
<td class="memname">GLM_FUNC_DECL vecType&lt;T, P&gt; glm::sqrt </td>
2016-09-11 10:44:33 +00:00
<td>(</td>
2016-11-12 23:39:32 +00:00
<td class="paramtype">vecType&lt; T, P &gt; const &amp;&#160;</td>
<td class="paramname"><em>v</em></td><td>)</td>
2016-09-11 10:44:33 +00:00
<td></td>
</tr>
</table>
</div><div class="memdoc">
2016-11-12 23:39: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>
2016-09-11 10:44:33 +00:00
<dl class="tparams"><dt>Template Parameters</dt><dd>
<table class="tparams">
2016-11-12 23:39:32 +00:00
<tr><td class="paramname">genType</td><td>Floating-point scalar or vector types.</td></tr>
2016-09-11 10:44:33 +00:00
</table>
</dd>
</dl>
2016-11-12 23:39:32 +00:00
<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>
2016-09-11 10:44:33 +00:00
<dd>
2016-11-12 23:39:32 +00:00
<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>
2016-09-11 10:44:33 +00:00
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.10
</small></address>
</body>
</html>