<!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.17"/> <title>PhasicFlow: src/phasicFlow/algorithms/stdAlgorithms.hpp File 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> <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"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function() { init_search(); }); /* @license-end */ </script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> <link href="customdoxygen.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;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname"><a href="https://cemf.ir">PhasicFlow</a>  <span id="projectnumber"><a href="https://cemf.ir">v0.1</a></span> </div> <div id="projectbrief"><a href="www.github.com/PhasicFlow">www.cemf.ir</a></div> </td> <td> <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> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.17 --> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ var searchBox = new SearchBox("searchBox", "search",false,'Search'); /* @license-end */ </script> </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&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function(){initNavTree('stdAlgorithms_8hpp.html',''); initResizable(); }); /* @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="#namespaces">Namespaces</a> | <a href="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">stdAlgorithms.hpp File Reference</div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><div class="dynheader"> Include dependency graph for stdAlgorithms.hpp:</div> <div class="dyncontent"> <div class="center"><img src="stdAlgorithms_8hpp__incl.png" border="0" usemap="#src_2phasicFlow_2algorithms_2stdAlgorithms_8hpp" alt=""/></div> <map name="src_2phasicFlow_2algorithms_2stdAlgorithms_8hpp" id="src_2phasicFlow_2algorithms_2stdAlgorithms_8hpp"> <area shape="rect" title=" " alt="" coords="141,5,333,47"/> <area shape="rect" title=" " alt="" coords="5,95,91,121"/> <area shape="rect" title=" " alt="" coords="115,95,200,121"/> <area shape="rect" href="pFlowMacros_8hpp.html" title=" " alt="" coords="232,169,368,196"/> <area shape="rect" href="algorithmFunctions_8hpp.html" title=" " alt="" coords="275,95,450,121"/> <area shape="rect" href="types_8hpp.html" title=" " alt="" coords="474,95,561,121"/> </map> </div> </div><div class="textblock"><div class="dynheader"> This graph shows which files directly or indirectly include this file:</div> <div class="dyncontent"> <div class="center"><img src="stdAlgorithms_8hpp__dep__incl.png" border="0" usemap="#src_2phasicFlow_2algorithms_2stdAlgorithms_8hppdep" alt=""/></div> <map name="src_2phasicFlow_2algorithms_2stdAlgorithms_8hppdep" id="src_2phasicFlow_2algorithms_2stdAlgorithms_8hppdep"> <area shape="rect" title=" " alt="" coords="106,5,298,47"/> <area shape="rect" href="Vector_8hpp.html" title=" " alt="" coords="5,95,196,136"/> <area shape="rect" href="ViewAlgorithms_8hpp.html" title=" " alt="" coords="221,95,389,136"/> </map> </div> </div> <p><a href="stdAlgorithms_8hpp_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> Namespaces</h2></td></tr> <tr class="memitem:namespacepFlow"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacepFlow.html">pFlow</a></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:namespacepFlow_1_1algorithms"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacepFlow_1_1algorithms.html">pFlow::algorithms</a></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:namespacepFlow_1_1algorithms_1_1STD"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacepFlow_1_1algorithms_1_1STD.html">pFlow::algorithms::STD</a></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> Functions</h2></td></tr> <tr class="memitem:a4159895f361a16f3637b87087eed3997"><td class="memTemplParams" colspan="2">template<typename Type , bool useParallel = useStdParallel__> </td></tr> <tr class="memitem:a4159895f361a16f3637b87087eed3997"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="pFlowMacros_8hpp.html#a542d326bc30e30d52e9deb402759b872">INLINE_FUNCTION_H</a> int32 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacepFlow_1_1algorithms_1_1STD.html#a4159895f361a16f3637b87087eed3997">count</a> (const Type *first, int32 numElems, const Type &val)</td></tr> <tr class="separator:a4159895f361a16f3637b87087eed3997"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7e1903612a89a800818a1e8ed40b1c61"><td class="memTemplParams" colspan="2">template<typename Type , bool useParallel = useStdParallel__> </td></tr> <tr class="memitem:a7e1903612a89a800818a1e8ed40b1c61"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="pFlowMacros_8hpp.html#a542d326bc30e30d52e9deb402759b872">INLINE_FUNCTION_H</a> void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacepFlow_1_1algorithms_1_1STD.html#a7e1903612a89a800818a1e8ed40b1c61">fill</a> (Type *first, int32 numElems, const Type &val)</td></tr> <tr class="separator:a7e1903612a89a800818a1e8ed40b1c61"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad30cea35761980fcb0cc884b631342d6"><td class="memTemplParams" colspan="2">template<typename Type , typename indexType , bool useParallel = useStdParallel__> </td></tr> <tr class="memitem:ad30cea35761980fcb0cc884b631342d6"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="pFlowMacros_8hpp.html#a542d326bc30e30d52e9deb402759b872">INLINE_FUNCTION_H</a> void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacepFlow_1_1algorithms_1_1STD.html#ad30cea35761980fcb0cc884b631342d6">fillSelected</a> (Type *first, const indexType *indices, const int32 numElems, const Type val)</td></tr> <tr class="separator:ad30cea35761980fcb0cc884b631342d6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae86883db4afbde870a2aa1673ce64122"><td class="memTemplParams" colspan="2">template<typename Type , typename indexType , bool useParallel = useStdParallel__> </td></tr> <tr class="memitem:ae86883db4afbde870a2aa1673ce64122"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="pFlowMacros_8hpp.html#a542d326bc30e30d52e9deb402759b872">INLINE_FUNCTION_H</a> void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacepFlow_1_1algorithms_1_1STD.html#ae86883db4afbde870a2aa1673ce64122">fillSelected</a> (Type *first, const indexType *indices, const Type *vals, const int32 numElems)</td></tr> <tr class="separator:ae86883db4afbde870a2aa1673ce64122"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a577015d933f32e2f5b5de5dbe21eb555"><td class="memTemplParams" colspan="2">template<typename Type , bool useParallel = useStdParallel__> </td></tr> <tr class="memitem:a577015d933f32e2f5b5de5dbe21eb555"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="pFlowMacros_8hpp.html#a542d326bc30e30d52e9deb402759b872">INLINE_FUNCTION_H</a> void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacepFlow_1_1algorithms_1_1STD.html#a577015d933f32e2f5b5de5dbe21eb555">fillSequence</a> (Type *first, int32 numElems, const Type &firstVal)</td></tr> <tr class="separator:a577015d933f32e2f5b5de5dbe21eb555"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a872f4272af3520f08f3fd92d89389ddf"><td class="memTemplParams" colspan="2">template<typename Type , bool useParallel = useStdParallel__> </td></tr> <tr class="memitem:a872f4272af3520f08f3fd92d89389ddf"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="pFlowMacros_8hpp.html#a542d326bc30e30d52e9deb402759b872">INLINE_FUNCTION_H</a> Type </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacepFlow_1_1algorithms_1_1STD.html#a872f4272af3520f08f3fd92d89389ddf">max</a> (const Type *first, int32 numElems)</td></tr> <tr class="separator:a872f4272af3520f08f3fd92d89389ddf"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6e6a9b83a6c54e8d07490393d9a79ecd"><td class="memTemplParams" colspan="2">template<typename Type , bool useParallel = useStdParallel__> </td></tr> <tr class="memitem:a6e6a9b83a6c54e8d07490393d9a79ecd"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="pFlowMacros_8hpp.html#a542d326bc30e30d52e9deb402759b872">INLINE_FUNCTION_H</a> Type </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacepFlow_1_1algorithms_1_1STD.html#a6e6a9b83a6c54e8d07490393d9a79ecd">min</a> (const Type *first, int32 numElems)</td></tr> <tr class="separator:a6e6a9b83a6c54e8d07490393d9a79ecd"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4a07b7729b1205459f95e03bce7f9f14"><td class="memTemplParams" colspan="2">template<typename Type , bool useParallel = useStdParallel__> </td></tr> <tr class="memitem:a4a07b7729b1205459f95e03bce7f9f14"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="pFlowMacros_8hpp.html#a542d326bc30e30d52e9deb402759b872">INLINE_FUNCTION_H</a> void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacepFlow_1_1algorithms_1_1STD.html#a4a07b7729b1205459f95e03bce7f9f14">sort</a> (Type *first, int32 numElems)</td></tr> <tr class="separator:a4a07b7729b1205459f95e03bce7f9f14"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa2016ec77c7b895a3bf788e767028859"><td class="memTemplParams" colspan="2">template<typename Type , typename CompareFunc , bool useParallel = useStdParallel__> </td></tr> <tr class="memitem:aa2016ec77c7b895a3bf788e767028859"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="pFlowMacros_8hpp.html#a542d326bc30e30d52e9deb402759b872">INLINE_FUNCTION_H</a> void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacepFlow_1_1algorithms_1_1STD.html#aa2016ec77c7b895a3bf788e767028859">sort</a> (Type *first, int32 numElems, CompareFunc compare)</td></tr> <tr class="separator:aa2016ec77c7b895a3bf788e767028859"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af645f7face856614b2d5e1ff94b83960"><td class="memTemplParams" colspan="2">template<typename Type , typename PermuteType , bool useParallel = useStdParallel__> </td></tr> <tr class="memitem:af645f7face856614b2d5e1ff94b83960"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="pFlowMacros_8hpp.html#a542d326bc30e30d52e9deb402759b872">INLINE_FUNCTION_H</a> void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacepFlow_1_1algorithms_1_1STD.html#af645f7face856614b2d5e1ff94b83960">permuteSort</a> (const Type *first, PermuteType *pFirst, int32 numElems)</td></tr> <tr class="separator:af645f7face856614b2d5e1ff94b83960"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a058cd3d3eaf32c8c8c974173bcc18aca"><td class="memTemplParams" colspan="2">template<typename Type , typename DestType , bool useParallel = useStdParallel__> </td></tr> <tr class="memitem:a058cd3d3eaf32c8c8c974173bcc18aca"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacepFlow_1_1algorithms_1_1STD.html#a058cd3d3eaf32c8c8c974173bcc18aca">exclusiveScan</a> (Type *first, DestType *dFirst, int32 numElems)</td></tr> <tr class="separator:a058cd3d3eaf32c8c8c974173bcc18aca"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae647074e39752f2c58f54a8000f45115"><td class="memTemplParams" colspan="2">template<typename Type , typename DestType , bool useParallel = useStdParallel__> </td></tr> <tr class="memitem:ae647074e39752f2c58f54a8000f45115"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacepFlow_1_1algorithms_1_1STD.html#ae647074e39752f2c58f54a8000f45115">inclusiveScan</a> (Type *first, DestType *dFirst, int32 numElems)</td></tr> <tr class="separator:ae647074e39752f2c58f54a8000f45115"><td class="memSeparator" colspan="2"> </td></tr> </table> </div><!-- contents --> </div><!-- doc-content --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_cd7a5046d028e114fc17b2ebc2bd02d2.html">phasicFlow</a></li><li class="navelem"><a class="el" href="dir_67ea7e018387beaa79e21cb1dea6a3ab.html">algorithms</a></li><li class="navelem"><a class="el" href="stdAlgorithms_8hpp.html">stdAlgorithms.hpp</a></li> <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li> </ul> </div> </body> </html>