diff options
Diffstat (limited to 'doc/html/thirdparty_2linux_2include_2fun_8h_source.html')
-rw-r--r-- | doc/html/thirdparty_2linux_2include_2fun_8h_source.html | 165 |
1 files changed, 165 insertions, 0 deletions
diff --git a/doc/html/thirdparty_2linux_2include_2fun_8h_source.html b/doc/html/thirdparty_2linux_2include_2fun_8h_source.html new file mode 100644 index 0000000..f8ecedc --- /dev/null +++ b/doc/html/thirdparty_2linux_2include_2fun_8h_source.html @@ -0,0 +1,165 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.9.1"/> +<meta name="viewport" content="width=device-width, initial-scale=1"/> +<title>FOSSEE Scilab Octave Toolbox: thirdparty/linux/include/fun.h Source File</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" /> +</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="projectlogo"><img alt="Logo" src="Scilab_Logo.png"/></td> + <td id="projectalign" style="padding-left: 0.5em;"> + <div id="projectname">FOSSEE Scilab Octave Toolbox + </div> + <div id="projectbrief">This is a scilab toolbox to call octave functions. It requires octave to be installed on the system.</div> + </td> + <td> <div id="MSearchBox" class="MSearchBoxInactive"> + <span class="left"> + <img id="MSearchSelect" src="search/mag_sel.svg" + 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.svg" alt=""/></a> + </span> + </div> +</td> + </tr> + </tbody> +</table> +</div> +<!-- end header part --> +<!-- Generated by Doxygen 1.9.1 --> +<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','.html'); +/* @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('thirdparty_2linux_2include_2fun_8h_source.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="headertitle"> +<div class="title">fun.h</div> </div> +</div><!--header--> +<div class="contents"> +<a href="thirdparty_2linux_2include_2fun_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">// Copyright (C) 2019 - IIT Bombay - FOSSEE</span></div> +<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">//</span></div> +<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// This file must be used under the terms of the CeCILL.</span></div> +<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// This source file is licensed as described in the file COPYING, which</span></div> +<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// you should have received as part of this distribution. The terms</span></div> +<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">// are also available at</span></div> +<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt</span></div> +<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">// Author: Rupak Rokade</span></div> +<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">// Organization: FOSSEE, IIT Bombay</span></div> +<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">// Email: toolbox@scilab.in</span></div> +<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  </div> +<div class="line"><a name="l00012"></a><span class="lineno"><a class="line" href="thirdparty_2linux_2include_2fun_8h.html#a2ca3f7142a7018d5861959828144a9e9"> 12</a></span> <span class="preprocessor">#define fun_h__</span></div> +<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">//extern "C" int fun (double* answ, double* in1, int in1_row, std::string name, std::string opt);</span></div> +<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>  </div> +<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span></div> +<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> {</div> +<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  </div> +<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134"> 18</a></span>  <span class="keyword">typedef</span> <span class="keyword">enum</span></div> +<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  {</div> +<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c"> 20</a></span>  <a class="code" href="src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c">TYPE_DOUBLE</a>,</div> +<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134addb4be6b1cc25112defabef75f73427a"> 21</a></span>  <a class="code" href="src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134addb4be6b1cc25112defabef75f73427a">TYPE_STRING</a>,</div> +<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  }<a class="code" href="src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134">FUNCTYPE</a>;</div> +<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  </div> +<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <span class="keyword">typedef</span> <span class="keyword">struct</span></div> +<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  {</div> +<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <a class="code" href="src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134">FUNCTYPE</a> type;</div> +<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <span class="keywordtype">int</span> n_in_rows;</div> +<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="keywordtype">int</span> n_in_cols;</div> +<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="keywordtype">int</span> n_out_rows;</div> +<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <span class="keywordtype">int</span> n_out_cols;</div> +<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="keywordtype">int</span> is_in_cmplx;</div> +<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="keywordtype">int</span> is_out_cmplx;</div> +<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="keywordtype">void</span>* in_data_real;</div> +<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="keywordtype">void</span>* in_data_img;</div> +<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="keywordtype">void</span>* out_data_real;</div> +<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="keywordtype">void</span>* out_data_img;</div> +<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  }<a class="code" href="struct_f_u_n_c_a_r_g_s.html">FUNCARGS</a>;</div> +<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  </div> +<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keyword">typedef</span> <span class="keyword">struct </span>{</div> +<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keywordtype">int</span> n_in_arguments; <span class="comment">// number of input arguments</span></div> +<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keywordtype">int</span> n_out_arguments; <span class="comment">// number of output arguments</span></div> +<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keywordtype">int</span> n_out_user; <span class="comment">// number of output arguments</span></div> +<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keywordtype">char</span> *err; <span class="comment">// Name</span></div> +<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="comment">//char *package; //Name of octave package to be loaded</span></div> +<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <a class="code" href="struct_f_u_n_c_a_r_g_s.html">FUNCARGS</a> *argument;</div> +<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> } <a class="code" href="struct_f_u_n_c_c_a_l_l.html">FUNCCALL</a>;</div> +<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  </div> +<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keywordtype">int</span> <a class="code" href="src_2fun_8h.html#adda0eaf7454844236de53495b494cdd4">fun</a>(<a class="code" href="struct_f_u_n_c_a_r_g_s.html">FUNCARGS</a> *arr, <a class="code" href="struct_f_u_n_c_c_a_l_l.html">FUNCCALL</a> *call);</div> +<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> }</div> +<div class="ttc" id="asrc_2fun_8h_html_a160793ea95e0b5106580229a2a5f1134"><div class="ttname"><a href="src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134">FUNCTYPE</a></div><div class="ttdeci">FUNCTYPE</div><div class="ttdef"><b>Definition:</b> fun.h:19</div></div> +<div class="ttc" id="asrc_2fun_8h_html_a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c"><div class="ttname"><a href="src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c">TYPE_DOUBLE</a></div><div class="ttdeci">@ TYPE_DOUBLE</div><div class="ttdef"><b>Definition:</b> fun.h:20</div></div> +<div class="ttc" id="asrc_2fun_8h_html_a160793ea95e0b5106580229a2a5f1134addb4be6b1cc25112defabef75f73427a"><div class="ttname"><a href="src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134addb4be6b1cc25112defabef75f73427a">TYPE_STRING</a></div><div class="ttdeci">@ TYPE_STRING</div><div class="ttdef"><b>Definition:</b> fun.h:21</div></div> +<div class="ttc" id="asrc_2fun_8h_html_adda0eaf7454844236de53495b494cdd4"><div class="ttname"><a href="src_2fun_8h.html#adda0eaf7454844236de53495b494cdd4">fun</a></div><div class="ttdeci">int fun(FUNCARGS *arr, FUNCCALL *call)</div><div class="ttdoc">Function to Interact with Octave's API.</div><div class="ttdef"><b>Definition:</b> fun.cpp:29</div></div> +<div class="ttc" id="astruct_f_u_n_c_a_r_g_s_html"><div class="ttname"><a href="struct_f_u_n_c_a_r_g_s.html">FUNCARGS</a></div><div class="ttdef"><b>Definition:</b> fun.h:25</div></div> +<div class="ttc" id="astruct_f_u_n_c_c_a_l_l_html"><div class="ttname"><a href="struct_f_u_n_c_c_a_l_l.html">FUNCCALL</a></div><div class="ttdef"><b>Definition:</b> fun.h:39</div></div> +</div><!-- fragment --></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="dir_7f51fab15f37f4c20c90b1af38889ac7.html">thirdparty</a></li><li class="navelem"><a class="el" href="dir_3367fc1c767e0df0b96d5ba63da8b19b.html">linux</a></li><li class="navelem"><a class="el" href="dir_2051be8f10baf40b9a7bbdabea01ba98.html">include</a></li><li class="navelem"><a class="el" href="thirdparty_2linux_2include_2fun_8h.html">fun.h</a></li> + <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li> + </ul> +</div> +</body> +</html> |