blob: f197a6bf2937e234c4909f28869362f8cb23ce89 [file] [log] [blame]
<!-- HTML header for doxygen 1.8.15-->
<!-- Remember to use version doxygen 1.8.15 +-->
<!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.15"/>
<meta name="robots" content="NOINDEX, NOFOLLOW" /> <!-- Prevent indexing by search engines -->
<title>Compute Library: compare&lt; RelativeTolerance&lt; U &gt; &gt; Struct Template Reference</title>
<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>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(initResizable);
/* @license-end */</script>
<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/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" async="async" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="stylesheet.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;">
<img alt="Compute Library" src="https://raw.githubusercontent.com/ARM-software/ComputeLibrary/gh-pages/ACL_logo.png" style="max-width: 100%;margin-top: 15px;margin-left: 10px"/>
<td style="padding-left: 0.5em;">
<div id="projectname">
&#160;<span id="projectnumber">19.08</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('structarm__compute_1_1test_1_1validation_1_1compare_3_01_relative_tolerance_3_01_u_01_4_01_4.xhtml','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- 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>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> </div>
<div class="headertitle">
<div class="title">compare&lt; RelativeTolerance&lt; U &gt; &gt; Struct Template Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Compare values with a relative tolerance.
<a href="structarm__compute_1_1test_1_1validation_1_1compare_3_01_relative_tolerance_3_01_u_01_4_01_4.xhtml#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="_validation_8h_source.xhtml">Validation.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for compare&lt; RelativeTolerance&lt; U &gt; &gt;:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="structarm__compute_1_1test_1_1validation_1_1compare_3_01_relative_tolerance_3_01_u_01_4_01_4__coll__graph.svg" width="388" height="351"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
<center><span class="legend">[<a target="top" href="graph_legend.xhtml">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a67b76affb3b5d35fa419ac234144038b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarm__compute_1_1test_1_1validation_1_1compare_3_01_relative_tolerance_3_01_u_01_4_01_4.xhtml#a67b76affb3b5d35fa419ac234144038b">operator bool</a> () const</td></tr>
<tr class="memdesc:a67b76affb3b5d35fa419ac234144038b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Perform comparison. <a href="#a67b76affb3b5d35fa419ac234144038b">More...</a><br /></td></tr>
<tr class="separator:a67b76affb3b5d35fa419ac234144038b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_structarm__compute_1_1test_1_1validation_1_1compare__base"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_structarm__compute_1_1test_1_1validation_1_1compare__base')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="structarm__compute_1_1test_1_1validation_1_1compare__base.xhtml">compare_base&lt; RelativeTolerance&lt; U &gt; &gt;</a></td></tr>
<tr class="memitem:a42c8a61b86fc900746fef0f1f70a9430 inherit pub_methods_structarm__compute_1_1test_1_1validation_1_1compare__base"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarm__compute_1_1test_1_1validation_1_1compare__base.xhtml#a42c8a61b86fc900746fef0f1f70a9430">compare_base</a> (typename <a class="el" href="classarm__compute_1_1test_1_1validation_1_1_relative_tolerance.xhtml">RelativeTolerance</a>&lt; U &gt; ::value_type target, typename <a class="el" href="classarm__compute_1_1test_1_1validation_1_1_relative_tolerance.xhtml">RelativeTolerance</a>&lt; U &gt; ::value_type reference, <a class="el" href="classarm__compute_1_1test_1_1validation_1_1_relative_tolerance.xhtml">RelativeTolerance</a>&lt; U &gt; tolerance=<a class="el" href="classarm__compute_1_1test_1_1validation_1_1_relative_tolerance.xhtml">RelativeTolerance</a>&lt; U &gt;(0))</td></tr>
<tr class="memdesc:a42c8a61b86fc900746fef0f1f70a9430 inherit pub_methods_structarm__compute_1_1test_1_1validation_1_1compare__base"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a comparison object. <a href="structarm__compute_1_1test_1_1validation_1_1compare__base.xhtml#a42c8a61b86fc900746fef0f1f70a9430">More...</a><br /></td></tr>
<tr class="separator:a42c8a61b86fc900746fef0f1f70a9430 inherit pub_methods_structarm__compute_1_1test_1_1validation_1_1compare__base"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_attribs_structarm__compute_1_1test_1_1validation_1_1compare__base"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_structarm__compute_1_1test_1_1validation_1_1compare__base')"><img src="closed.png" alt="-"/>&#160;Data Fields inherited from <a class="el" href="structarm__compute_1_1test_1_1validation_1_1compare__base.xhtml">compare_base&lt; RelativeTolerance&lt; U &gt; &gt;</a></td></tr>
<tr class="memitem:a43df64dda9f48ddc325ea5ee5cce504c inherit pub_attribs_structarm__compute_1_1test_1_1validation_1_1compare__base"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1test_1_1validation_1_1_relative_tolerance.xhtml">RelativeTolerance</a>&lt; U &gt; ::value_type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarm__compute_1_1test_1_1validation_1_1compare__base.xhtml#a43df64dda9f48ddc325ea5ee5cce504c">_target</a></td></tr>
<tr class="memdesc:a43df64dda9f48ddc325ea5ee5cce504c inherit pub_attribs_structarm__compute_1_1test_1_1validation_1_1compare__base"><td class="mdescLeft">&#160;</td><td class="mdescRight">Target value. <a href="structarm__compute_1_1test_1_1validation_1_1compare__base.xhtml#a43df64dda9f48ddc325ea5ee5cce504c">More...</a><br /></td></tr>
<tr class="separator:a43df64dda9f48ddc325ea5ee5cce504c inherit pub_attribs_structarm__compute_1_1test_1_1validation_1_1compare__base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9cdfbe0f92ba33d9d5c84bc06600640c inherit pub_attribs_structarm__compute_1_1test_1_1validation_1_1compare__base"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1test_1_1validation_1_1_relative_tolerance.xhtml">RelativeTolerance</a>&lt; U &gt; ::value_type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarm__compute_1_1test_1_1validation_1_1compare__base.xhtml#a9cdfbe0f92ba33d9d5c84bc06600640c">_reference</a></td></tr>
<tr class="memdesc:a9cdfbe0f92ba33d9d5c84bc06600640c inherit pub_attribs_structarm__compute_1_1test_1_1validation_1_1compare__base"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reference value. <a href="structarm__compute_1_1test_1_1validation_1_1compare__base.xhtml#a9cdfbe0f92ba33d9d5c84bc06600640c">More...</a><br /></td></tr>
<tr class="separator:a9cdfbe0f92ba33d9d5c84bc06600640c inherit pub_attribs_structarm__compute_1_1test_1_1validation_1_1compare__base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4fd55d362930310365e320208784ede inherit pub_attribs_structarm__compute_1_1test_1_1validation_1_1compare__base"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1test_1_1validation_1_1_relative_tolerance.xhtml">RelativeTolerance</a>&lt; U &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarm__compute_1_1test_1_1validation_1_1compare__base.xhtml#aa4fd55d362930310365e320208784ede">_tolerance</a></td></tr>
<tr class="memdesc:aa4fd55d362930310365e320208784ede inherit pub_attribs_structarm__compute_1_1test_1_1validation_1_1compare__base"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tolerance value. <a href="structarm__compute_1_1test_1_1validation_1_1compare__base.xhtml#aa4fd55d362930310365e320208784ede">More...</a><br /></td></tr>
<tr class="separator:aa4fd55d362930310365e320208784ede inherit pub_attribs_structarm__compute_1_1test_1_1validation_1_1compare__base"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename U&gt;<br />
struct arm_compute::test::validation::compare&lt; RelativeTolerance&lt; U &gt; &gt;</h3>
<p>Compare values with a relative tolerance. </p>
<p class="definition">Definition at line <a class="el" href="_validation_8h_source.xhtml#l00330">330</a> of file <a class="el" href="_validation_8h_source.xhtml">Validation.h</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a67b76affb3b5d35fa419ac234144038b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a67b76affb3b5d35fa419ac234144038b">&#9670;&nbsp;</a></span>operator bool()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">operator bool </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Perform comparison. </p>
<p class="definition">Definition at line <a class="el" href="_validation_8h_source.xhtml#l00335">335</a> of file <a class="el" href="_validation_8h_source.xhtml">Validation.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00336"></a><span class="lineno"> 336</span>&#160; {</div><div class="line"><a name="l00337"></a><span class="lineno"> 337</span>&#160; <span class="keywordflow">if</span>(!<a class="code" href="namespacearm__compute_1_1support_1_1cpp11.xhtml#a079a0ecb5fc05e0a107785f2573bc854">support::cpp11::isfinite</a>(this-&gt;<a class="code" href="structarm__compute_1_1test_1_1validation_1_1compare__base.xhtml#a43df64dda9f48ddc325ea5ee5cce504c">_target</a>) || !<a class="code" href="namespacearm__compute_1_1support_1_1cpp11.xhtml#a079a0ecb5fc05e0a107785f2573bc854">support::cpp11::isfinite</a>(this-&gt;<a class="code" href="structarm__compute_1_1test_1_1validation_1_1compare__base.xhtml#a9cdfbe0f92ba33d9d5c84bc06600640c">_reference</a>))</div><div class="line"><a name="l00338"></a><span class="lineno"> 338</span>&#160; {</div><div class="line"><a name="l00339"></a><span class="lineno"> 339</span>&#160; <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00340"></a><span class="lineno"> 340</span>&#160; }</div><div class="line"><a name="l00341"></a><span class="lineno"> 341</span>&#160; <span class="keywordflow">else</span> <span class="keywordflow">if</span>(this-&gt;<a class="code" href="structarm__compute_1_1test_1_1validation_1_1compare__base.xhtml#a43df64dda9f48ddc325ea5ee5cce504c">_target</a> == this-&gt;<a class="code" href="structarm__compute_1_1test_1_1validation_1_1compare__base.xhtml#a9cdfbe0f92ba33d9d5c84bc06600640c">_reference</a>)</div><div class="line"><a name="l00342"></a><span class="lineno"> 342</span>&#160; {</div><div class="line"><a name="l00343"></a><span class="lineno"> 343</span>&#160; <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00344"></a><span class="lineno"> 344</span>&#160; }</div><div class="line"><a name="l00345"></a><span class="lineno"> 345</span>&#160;</div><div class="line"><a name="l00346"></a><span class="lineno"> 346</span>&#160; <span class="keyword">const</span> <a class="code" href="namespacearm__compute_1_1utils_1_1cast.xhtml#a2ea3d1fc01a3a442900249ca182ffa5e">U</a> <a class="code" href="_asymm_helpers_8cpp.xhtml#a552dc3787d7ea1675f3e4e8993501d58">epsilon</a> = (std::is_same&lt;half, typename std::remove_cv&lt;U&gt;::type&gt;::value || (this-&gt;<a class="code" href="structarm__compute_1_1test_1_1validation_1_1compare__base.xhtml#a9cdfbe0f92ba33d9d5c84bc06600640c">_reference</a> == 0)) ? static_cast&lt;U&gt;(0.01) : static_cast&lt;<a class="code" href="namespacearm__compute_1_1utils_1_1cast.xhtml#a2ea3d1fc01a3a442900249ca182ffa5e">U</a>&gt;(1e-05);</div><div class="line"><a name="l00347"></a><span class="lineno"> 347</span>&#160;</div><div class="line"><a name="l00348"></a><span class="lineno"> 348</span>&#160; <span class="keywordflow">if</span>(std::abs(static_cast&lt;double&gt;(this-&gt;<a class="code" href="structarm__compute_1_1test_1_1validation_1_1compare__base.xhtml#a9cdfbe0f92ba33d9d5c84bc06600640c">_reference</a>) - static_cast&lt;double&gt;(this-&gt;<a class="code" href="structarm__compute_1_1test_1_1validation_1_1compare__base.xhtml#a43df64dda9f48ddc325ea5ee5cce504c">_target</a>)) &lt;= epsilon)</div><div class="line"><a name="l00349"></a><span class="lineno"> 349</span>&#160; {</div><div class="line"><a name="l00350"></a><span class="lineno"> 350</span>&#160; <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00351"></a><span class="lineno"> 351</span>&#160; }</div><div class="line"><a name="l00352"></a><span class="lineno"> 352</span>&#160; <span class="keywordflow">else</span></div><div class="line"><a name="l00353"></a><span class="lineno"> 353</span>&#160; {</div><div class="line"><a name="l00354"></a><span class="lineno"> 354</span>&#160; <span class="keywordflow">if</span>(static_cast&lt;double&gt;(this-&gt;<a class="code" href="structarm__compute_1_1test_1_1validation_1_1compare__base.xhtml#a9cdfbe0f92ba33d9d5c84bc06600640c">_reference</a>) == 0.0f) <span class="comment">// We have checked whether _reference and _target is closing. If _reference is 0 but not closed to _target, it should return false</span></div><div class="line"><a name="l00355"></a><span class="lineno"> 355</span>&#160; {</div><div class="line"><a name="l00356"></a><span class="lineno"> 356</span>&#160; <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00357"></a><span class="lineno"> 357</span>&#160; }</div><div class="line"><a name="l00358"></a><span class="lineno"> 358</span>&#160;</div><div class="line"><a name="l00359"></a><span class="lineno"> 359</span>&#160; <span class="keyword">const</span> <span class="keywordtype">double</span> relative_change = std::abs((static_cast&lt;double&gt;(this-&gt;<a class="code" href="structarm__compute_1_1test_1_1validation_1_1compare__base.xhtml#a43df64dda9f48ddc325ea5ee5cce504c">_target</a>) - static_cast&lt;double&gt;(this-&gt;<a class="code" href="structarm__compute_1_1test_1_1validation_1_1compare__base.xhtml#a9cdfbe0f92ba33d9d5c84bc06600640c">_reference</a>)) / this-&gt;<a class="code" href="structarm__compute_1_1test_1_1validation_1_1compare__base.xhtml#a9cdfbe0f92ba33d9d5c84bc06600640c">_reference</a>);</div><div class="line"><a name="l00360"></a><span class="lineno"> 360</span>&#160;</div><div class="line"><a name="l00361"></a><span class="lineno"> 361</span>&#160; <span class="keywordflow">return</span> relative_change &lt;= static_cast&lt;U&gt;(this-&gt;<a class="code" href="structarm__compute_1_1test_1_1validation_1_1compare__base.xhtml#aa4fd55d362930310365e320208784ede">_tolerance</a>);</div><div class="line"><a name="l00362"></a><span class="lineno"> 362</span>&#160; }</div><div class="line"><a name="l00363"></a><span class="lineno"> 363</span>&#160; }</div><div class="ttc" id="_asymm_helpers_8cpp_xhtml_a552dc3787d7ea1675f3e4e8993501d58"><div class="ttname"><a href="_asymm_helpers_8cpp.xhtml#a552dc3787d7ea1675f3e4e8993501d58">epsilon</a></div><div class="ttdeci">constexpr float epsilon</div><div class="ttdef"><b>Definition:</b> <a href="_asymm_helpers_8cpp_source.xhtml#l00033">AsymmHelpers.cpp:33</a></div></div>
<div class="ttc" id="structarm__compute_1_1test_1_1validation_1_1compare__base_xhtml_a9cdfbe0f92ba33d9d5c84bc06600640c"><div class="ttname"><a href="structarm__compute_1_1test_1_1validation_1_1compare__base.xhtml#a9cdfbe0f92ba33d9d5c84bc06600640c">arm_compute::test::validation::compare_base&lt; RelativeTolerance&lt; U &gt; &gt;::_reference</a></div><div class="ttdeci">RelativeTolerance&lt; U &gt; ::value_type _reference</div><div class="ttdoc">Reference value.</div><div class="ttdef"><b>Definition:</b> <a href="_validation_8h_source.xhtml#l00295">Validation.h:295</a></div></div>
<div class="ttc" id="structarm__compute_1_1test_1_1validation_1_1compare__base_xhtml_aa4fd55d362930310365e320208784ede"><div class="ttname"><a href="structarm__compute_1_1test_1_1validation_1_1compare__base.xhtml#aa4fd55d362930310365e320208784ede">arm_compute::test::validation::compare_base&lt; RelativeTolerance&lt; U &gt; &gt;::_tolerance</a></div><div class="ttdeci">RelativeTolerance&lt; U &gt; _tolerance</div><div class="ttdoc">Tolerance value.</div><div class="ttdef"><b>Definition:</b> <a href="_validation_8h_source.xhtml#l00296">Validation.h:296</a></div></div>
<div class="ttc" id="namespacearm__compute_1_1support_1_1cpp11_xhtml_a079a0ecb5fc05e0a107785f2573bc854"><div class="ttname"><a href="namespacearm__compute_1_1support_1_1cpp11.xhtml#a079a0ecb5fc05e0a107785f2573bc854">arm_compute::support::cpp11::isfinite</a></div><div class="ttdeci">bool isfinite(T value)</div><div class="ttdef"><b>Definition:</b> <a href="_toolchain_support_8h_source.xhtml#l00399">ToolchainSupport.h:399</a></div></div>
<div class="ttc" id="namespacearm__compute_1_1utils_1_1cast_xhtml_a2ea3d1fc01a3a442900249ca182ffa5e"><div class="ttname"><a href="namespacearm__compute_1_1utils_1_1cast.xhtml#a2ea3d1fc01a3a442900249ca182ffa5e">arm_compute::utils::cast::U</a></div><div class="ttdeci">U</div><div class="ttdef"><b>Definition:</b> <a href="_saturate_cast_8h_source.xhtml#l00057">SaturateCast.h:57</a></div></div>
<div class="ttc" id="structarm__compute_1_1test_1_1validation_1_1compare__base_xhtml_a43df64dda9f48ddc325ea5ee5cce504c"><div class="ttname"><a href="structarm__compute_1_1test_1_1validation_1_1compare__base.xhtml#a43df64dda9f48ddc325ea5ee5cce504c">arm_compute::test::validation::compare_base&lt; RelativeTolerance&lt; U &gt; &gt;::_target</a></div><div class="ttdeci">RelativeTolerance&lt; U &gt; ::value_type _target</div><div class="ttdoc">Target value.</div><div class="ttdef"><b>Definition:</b> <a href="_validation_8h_source.xhtml#l00294">Validation.h:294</a></div></div>
</div><!-- fragment -->
<p class="reference">References <a class="el" href="_asymm_helpers_8cpp_source.xhtml#l00033">epsilon</a>, and <a class="el" href="_toolchain_support_8h_source.xhtml#l00399">arm_compute::support::cpp11::isfinite()</a>.</p>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>tests/validation/<a class="el" href="_validation_8h_source.xhtml">Validation.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespacearm__compute.xhtml">arm_compute</a></li><li class="navelem"><a class="el" href="namespacearm__compute_1_1test.xhtml">test</a></li><li class="navelem"><a class="el" href="namespacearm__compute_1_1test_1_1validation.xhtml">validation</a></li><li class="navelem"><a class="el" href="structarm__compute_1_1test_1_1validation_1_1compare_3_01_relative_tolerance_3_01_u_01_4_01_4.xhtml">compare&lt; RelativeTolerance&lt; U &gt; &gt;</a></li>
<li class="footer">Generated on Mon Sep 2 2019 11:47:41 for Compute Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li>
</ul>
</div>
</body>
</html>