1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
|
<!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: src/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('src_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="src_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="src_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="l00022"></a><span class="lineno"><a class="line" href="src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134"> 22</a></span>  <span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c"> 23</a></span>  <a class="code" href="src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c">TYPE_DOUBLE</a>, </div>
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a93b716b9a66d34b56d36773e5337f3dc"> 24</a></span>  <a class="code" href="src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a93b716b9a66d34b56d36773e5337f3dc">TYPE_COMPLEX</a>, </div>
<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134addb4be6b1cc25112defabef75f73427a"> 25</a></span>  <a class="code" href="src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134addb4be6b1cc25112defabef75f73427a">TYPE_STRING</a>, </div>
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a9001cd1bc103bb1d664228d46715f65c"> 26</a></span>  <a class="code" href="src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a9001cd1bc103bb1d664228d46715f65c">TYPE_STRUCT</a>, </div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  }<a class="code" href="src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134">FUNCTYPE</a>;</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  </div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="struct_f_u_n_c_s_t_r_u_c_t.html"> 35</a></span>  <span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="struct_f_u_n_c_s_t_r_u_c_t.html#a03c3251e6292eeca88505406761e4fd7"> 36</a></span>  <a class="code" href="src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134">FUNCTYPE</a> <a class="code" href="struct_f_u_n_c_s_t_r_u_c_t.html#a03c3251e6292eeca88505406761e4fd7">type</a>; </div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="struct_f_u_n_c_s_t_r_u_c_t.html#ae298630243ee8fadf8503dd4fd81f52b"> 37</a></span>  <span class="keywordtype">void</span>* <a class="code" href="struct_f_u_n_c_s_t_r_u_c_t.html#ae298630243ee8fadf8503dd4fd81f52b">key</a>; </div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="struct_f_u_n_c_s_t_r_u_c_t.html#a7512f24fd057d4d93074e9a5c7951157"> 38</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_f_u_n_c_s_t_r_u_c_t.html#a7512f24fd057d4d93074e9a5c7951157">rows</a>; </div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="struct_f_u_n_c_s_t_r_u_c_t.html#ad40fd4328e821e9eaa553bbdf5c83bba"> 39</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_f_u_n_c_s_t_r_u_c_t.html#ad40fd4328e821e9eaa553bbdf5c83bba">cols</a>; </div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="struct_f_u_n_c_s_t_r_u_c_t.html#a91ce1300dd1b9c3b18ac38c34171d679"> 40</a></span>  <span class="keywordtype">void</span>* <a class="code" href="struct_f_u_n_c_s_t_r_u_c_t.html#a91ce1300dd1b9c3b18ac38c34171d679">dataReal</a>; </div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="struct_f_u_n_c_s_t_r_u_c_t.html#ae7fbe0037ac898a607fe3648afa61be2"> 41</a></span>  <span class="keywordtype">void</span>* <a class="code" href="struct_f_u_n_c_s_t_r_u_c_t.html#ae7fbe0037ac898a607fe3648afa61be2">dataImg</a>; </div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="struct_f_u_n_c_s_t_r_u_c_t.html#a175d20292e70fd1fb89e40d6d128653d"> 42</a></span>  <span class="keywordtype">void</span>* <a class="code" href="struct_f_u_n_c_s_t_r_u_c_t.html#a175d20292e70fd1fb89e40d6d128653d">str</a>; </div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  } <a class="code" href="struct_f_u_n_c_s_t_r_u_c_t.html">FUNCSTRUCT</a>;</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  </div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="struct_f_u_n_c_a_r_g_s.html"> 51</a></span>  <span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="struct_f_u_n_c_a_r_g_s.html#a580ae591432835016133e2ada44be2c9"> 53</a></span>  <a class="code" href="src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134">FUNCTYPE</a> <a class="code" href="struct_f_u_n_c_a_r_g_s.html#a580ae591432835016133e2ada44be2c9">type</a>; </div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="struct_f_u_n_c_a_r_g_s.html#a5072b853699aed6ed5cff33a6e48b71d"> 54</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_f_u_n_c_a_r_g_s.html#a5072b853699aed6ed5cff33a6e48b71d">n_in_rows</a>; </div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="struct_f_u_n_c_a_r_g_s.html#a57dd8f6ba533785f3c654289054a9d37"> 55</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_f_u_n_c_a_r_g_s.html#a57dd8f6ba533785f3c654289054a9d37">n_in_cols</a>; </div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="struct_f_u_n_c_a_r_g_s.html#a3f38c9b21450c6842913df42db54ae4d"> 56</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_f_u_n_c_a_r_g_s.html#a3f38c9b21450c6842913df42db54ae4d">n_in_struct_len</a>; </div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="struct_f_u_n_c_a_r_g_s.html#accf1038c5390a90bd8465916452918cc"> 57</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_f_u_n_c_a_r_g_s.html#accf1038c5390a90bd8465916452918cc">n_out_rows</a>; </div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="struct_f_u_n_c_a_r_g_s.html#a07cd1a0775fad3da2e3a6d3cb941d3e9"> 58</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_f_u_n_c_a_r_g_s.html#a07cd1a0775fad3da2e3a6d3cb941d3e9">n_out_cols</a>; </div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="struct_f_u_n_c_a_r_g_s.html#a418164a53b8efbfe39439fd7ebe52172"> 59</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_f_u_n_c_a_r_g_s.html#a418164a53b8efbfe39439fd7ebe52172">n_out_struct_len</a>; </div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="struct_f_u_n_c_a_r_g_s.html#a6993c7529d472e393bf6d8b62eee4eb9"> 60</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_f_u_n_c_a_r_g_s.html#a6993c7529d472e393bf6d8b62eee4eb9">is_in_cmplx</a>; </div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="struct_f_u_n_c_a_r_g_s.html#a25918ade41c7afafb4a851e6845ac554"> 61</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_f_u_n_c_a_r_g_s.html#a25918ade41c7afafb4a851e6845ac554">is_out_cmplx</a>; </div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="struct_f_u_n_c_a_r_g_s.html#a23897aefce90b1a055e408ef209daab6"> 62</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_f_u_n_c_a_r_g_s.html#a23897aefce90b1a055e408ef209daab6">is_out_struct</a>; </div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="struct_f_u_n_c_a_r_g_s.html#a5e7fbc7ebf438985fcc91b800a67240e"> 63</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_f_u_n_c_a_r_g_s.html#a5e7fbc7ebf438985fcc91b800a67240e">is_out_string</a>; </div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="struct_f_u_n_c_a_r_g_s.html#afb520ee91cd773811ae5223113c8a82d"> 64</a></span>  <span class="keywordtype">void</span>* <a class="code" href="struct_f_u_n_c_a_r_g_s.html#afb520ee91cd773811ae5223113c8a82d">in_data_real</a>; </div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="struct_f_u_n_c_a_r_g_s.html#aeea2f16c973c70f31ac07d234d509161"> 65</a></span>  <span class="keywordtype">void</span>* <a class="code" href="struct_f_u_n_c_a_r_g_s.html#aeea2f16c973c70f31ac07d234d509161">in_data_img</a>; </div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="struct_f_u_n_c_a_r_g_s.html#a1ab002ae3f19574b5d7e0469187501f4"> 66</a></span>  <span class="keywordtype">void</span>* <a class="code" href="struct_f_u_n_c_a_r_g_s.html#a1ab002ae3f19574b5d7e0469187501f4">out_data_real</a>; </div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="struct_f_u_n_c_a_r_g_s.html#a057c2aa9db10a409e7b9da3b5f0f17f2"> 67</a></span>  <span class="keywordtype">void</span>* <a class="code" href="struct_f_u_n_c_a_r_g_s.html#a057c2aa9db10a409e7b9da3b5f0f17f2">out_data_img</a>; </div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="struct_f_u_n_c_a_r_g_s.html#aabfc4b5433234d1272a8db4a1531ba79"> 68</a></span>  <a class="code" href="struct_f_u_n_c_s_t_r_u_c_t.html">FUNCSTRUCT</a>* <a class="code" href="struct_f_u_n_c_a_r_g_s.html#aabfc4b5433234d1272a8db4a1531ba79">in_struct</a>; </div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="struct_f_u_n_c_a_r_g_s.html#abb34bfaef96a2e29c65591046c504754"> 69</a></span>  <a class="code" href="struct_f_u_n_c_s_t_r_u_c_t.html">FUNCSTRUCT</a>* <a class="code" href="struct_f_u_n_c_a_r_g_s.html#abb34bfaef96a2e29c65591046c504754">out_struct</a>; </div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  } <a class="code" href="struct_f_u_n_c_a_r_g_s.html">FUNCARGS</a>;</div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="struct_f_u_n_c_c_a_l_l.html"> 76</a></span>  <span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="struct_f_u_n_c_c_a_l_l.html#a15b282cd4eb7e33fe14aaea926b1a98a"> 78</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_f_u_n_c_c_a_l_l.html#a15b282cd4eb7e33fe14aaea926b1a98a">n_in_arguments</a>; </div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="struct_f_u_n_c_c_a_l_l.html#a4c3ce57d43862cda7780e020e6ce2349"> 79</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_f_u_n_c_c_a_l_l.html#a4c3ce57d43862cda7780e020e6ce2349">n_out_arguments</a>; </div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="struct_f_u_n_c_c_a_l_l.html#a964c4a02c04884e73bd261aa10180d4e"> 80</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_f_u_n_c_c_a_l_l.html#a964c4a02c04884e73bd261aa10180d4e">n_out_user</a>; </div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="struct_f_u_n_c_c_a_l_l.html#afbac69a2aa8ae198e46614a2e1228a56"> 81</a></span>  <span class="keywordtype">char</span> *<a class="code" href="struct_f_u_n_c_c_a_l_l.html#afbac69a2aa8ae198e46614a2e1228a56">err</a>; </div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="comment">//char *package; //Name of octave package to be loaded*/</span></div>
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="struct_f_u_n_c_c_a_l_l.html#a6ae4ef88bdc4be97e5363448f9522beb"> 83</a></span>  <a class="code" href="struct_f_u_n_c_a_r_g_s.html">FUNCARGS</a> *<a class="code" href="struct_f_u_n_c_c_a_l_l.html#a6ae4ef88bdc4be97e5363448f9522beb">argument</a>; </div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  } <a class="code" href="struct_f_u_n_c_c_a_l_l.html">FUNCCALL</a>;</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</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="l00095"></a><span class="lineno"> 95</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="ttdoc">Enumeration for the data types suported.</div><div class="ttdef"><b>Definition:</b> fun.h:22</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:23</div></div>
<div class="ttc" id="asrc_2fun_8h_html_a160793ea95e0b5106580229a2a5f1134a9001cd1bc103bb1d664228d46715f65c"><div class="ttname"><a href="src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a9001cd1bc103bb1d664228d46715f65c">TYPE_STRUCT</a></div><div class="ttdeci">@ TYPE_STRUCT</div><div class="ttdef"><b>Definition:</b> fun.h:26</div></div>
<div class="ttc" id="asrc_2fun_8h_html_a160793ea95e0b5106580229a2a5f1134a93b716b9a66d34b56d36773e5337f3dc"><div class="ttname"><a href="src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a93b716b9a66d34b56d36773e5337f3dc">TYPE_COMPLEX</a></div><div class="ttdeci">@ TYPE_COMPLEX</div><div class="ttdef"><b>Definition:</b> fun.h:24</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:25</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">API Function to call/receive and pass the data to fun API</div><div class="ttdef"><b>Definition:</b> fun.cpp:30</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="ttdoc">Struct used to send/receive Scilab data to/from the gateway to fun.cpp API.</div><div class="ttdef"><b>Definition:</b> fun.h:51</div></div>
<div class="ttc" id="astruct_f_u_n_c_a_r_g_s_html_a057c2aa9db10a409e7b9da3b5f0f17f2"><div class="ttname"><a href="struct_f_u_n_c_a_r_g_s.html#a057c2aa9db10a409e7b9da3b5f0f17f2">FUNCARGS::out_data_img</a></div><div class="ttdeci">void * out_data_img</div><div class="ttdef"><b>Definition:</b> fun.h:67</div></div>
<div class="ttc" id="astruct_f_u_n_c_a_r_g_s_html_a07cd1a0775fad3da2e3a6d3cb941d3e9"><div class="ttname"><a href="struct_f_u_n_c_a_r_g_s.html#a07cd1a0775fad3da2e3a6d3cb941d3e9">FUNCARGS::n_out_cols</a></div><div class="ttdeci">int n_out_cols</div><div class="ttdef"><b>Definition:</b> fun.h:58</div></div>
<div class="ttc" id="astruct_f_u_n_c_a_r_g_s_html_a1ab002ae3f19574b5d7e0469187501f4"><div class="ttname"><a href="struct_f_u_n_c_a_r_g_s.html#a1ab002ae3f19574b5d7e0469187501f4">FUNCARGS::out_data_real</a></div><div class="ttdeci">void * out_data_real</div><div class="ttdef"><b>Definition:</b> fun.h:66</div></div>
<div class="ttc" id="astruct_f_u_n_c_a_r_g_s_html_a23897aefce90b1a055e408ef209daab6"><div class="ttname"><a href="struct_f_u_n_c_a_r_g_s.html#a23897aefce90b1a055e408ef209daab6">FUNCARGS::is_out_struct</a></div><div class="ttdeci">int is_out_struct</div><div class="ttdef"><b>Definition:</b> fun.h:62</div></div>
<div class="ttc" id="astruct_f_u_n_c_a_r_g_s_html_a25918ade41c7afafb4a851e6845ac554"><div class="ttname"><a href="struct_f_u_n_c_a_r_g_s.html#a25918ade41c7afafb4a851e6845ac554">FUNCARGS::is_out_cmplx</a></div><div class="ttdeci">int is_out_cmplx</div><div class="ttdef"><b>Definition:</b> fun.h:61</div></div>
<div class="ttc" id="astruct_f_u_n_c_a_r_g_s_html_a3f38c9b21450c6842913df42db54ae4d"><div class="ttname"><a href="struct_f_u_n_c_a_r_g_s.html#a3f38c9b21450c6842913df42db54ae4d">FUNCARGS::n_in_struct_len</a></div><div class="ttdeci">int n_in_struct_len</div><div class="ttdef"><b>Definition:</b> fun.h:56</div></div>
<div class="ttc" id="astruct_f_u_n_c_a_r_g_s_html_a418164a53b8efbfe39439fd7ebe52172"><div class="ttname"><a href="struct_f_u_n_c_a_r_g_s.html#a418164a53b8efbfe39439fd7ebe52172">FUNCARGS::n_out_struct_len</a></div><div class="ttdeci">int n_out_struct_len</div><div class="ttdef"><b>Definition:</b> fun.h:59</div></div>
<div class="ttc" id="astruct_f_u_n_c_a_r_g_s_html_a5072b853699aed6ed5cff33a6e48b71d"><div class="ttname"><a href="struct_f_u_n_c_a_r_g_s.html#a5072b853699aed6ed5cff33a6e48b71d">FUNCARGS::n_in_rows</a></div><div class="ttdeci">int n_in_rows</div><div class="ttdef"><b>Definition:</b> fun.h:54</div></div>
<div class="ttc" id="astruct_f_u_n_c_a_r_g_s_html_a57dd8f6ba533785f3c654289054a9d37"><div class="ttname"><a href="struct_f_u_n_c_a_r_g_s.html#a57dd8f6ba533785f3c654289054a9d37">FUNCARGS::n_in_cols</a></div><div class="ttdeci">int n_in_cols</div><div class="ttdef"><b>Definition:</b> fun.h:55</div></div>
<div class="ttc" id="astruct_f_u_n_c_a_r_g_s_html_a580ae591432835016133e2ada44be2c9"><div class="ttname"><a href="struct_f_u_n_c_a_r_g_s.html#a580ae591432835016133e2ada44be2c9">FUNCARGS::type</a></div><div class="ttdeci">FUNCTYPE type</div><div class="ttdef"><b>Definition:</b> fun.h:53</div></div>
<div class="ttc" id="astruct_f_u_n_c_a_r_g_s_html_a5e7fbc7ebf438985fcc91b800a67240e"><div class="ttname"><a href="struct_f_u_n_c_a_r_g_s.html#a5e7fbc7ebf438985fcc91b800a67240e">FUNCARGS::is_out_string</a></div><div class="ttdeci">int is_out_string</div><div class="ttdef"><b>Definition:</b> fun.h:63</div></div>
<div class="ttc" id="astruct_f_u_n_c_a_r_g_s_html_a6993c7529d472e393bf6d8b62eee4eb9"><div class="ttname"><a href="struct_f_u_n_c_a_r_g_s.html#a6993c7529d472e393bf6d8b62eee4eb9">FUNCARGS::is_in_cmplx</a></div><div class="ttdeci">int is_in_cmplx</div><div class="ttdef"><b>Definition:</b> fun.h:60</div></div>
<div class="ttc" id="astruct_f_u_n_c_a_r_g_s_html_aabfc4b5433234d1272a8db4a1531ba79"><div class="ttname"><a href="struct_f_u_n_c_a_r_g_s.html#aabfc4b5433234d1272a8db4a1531ba79">FUNCARGS::in_struct</a></div><div class="ttdeci">FUNCSTRUCT * in_struct</div><div class="ttdef"><b>Definition:</b> fun.h:68</div></div>
<div class="ttc" id="astruct_f_u_n_c_a_r_g_s_html_abb34bfaef96a2e29c65591046c504754"><div class="ttname"><a href="struct_f_u_n_c_a_r_g_s.html#abb34bfaef96a2e29c65591046c504754">FUNCARGS::out_struct</a></div><div class="ttdeci">FUNCSTRUCT * out_struct</div><div class="ttdef"><b>Definition:</b> fun.h:69</div></div>
<div class="ttc" id="astruct_f_u_n_c_a_r_g_s_html_accf1038c5390a90bd8465916452918cc"><div class="ttname"><a href="struct_f_u_n_c_a_r_g_s.html#accf1038c5390a90bd8465916452918cc">FUNCARGS::n_out_rows</a></div><div class="ttdeci">int n_out_rows</div><div class="ttdef"><b>Definition:</b> fun.h:57</div></div>
<div class="ttc" id="astruct_f_u_n_c_a_r_g_s_html_aeea2f16c973c70f31ac07d234d509161"><div class="ttname"><a href="struct_f_u_n_c_a_r_g_s.html#aeea2f16c973c70f31ac07d234d509161">FUNCARGS::in_data_img</a></div><div class="ttdeci">void * in_data_img</div><div class="ttdef"><b>Definition:</b> fun.h:65</div></div>
<div class="ttc" id="astruct_f_u_n_c_a_r_g_s_html_afb520ee91cd773811ae5223113c8a82d"><div class="ttname"><a href="struct_f_u_n_c_a_r_g_s.html#afb520ee91cd773811ae5223113c8a82d">FUNCARGS::in_data_real</a></div><div class="ttdeci">void * in_data_real</div><div class="ttdef"><b>Definition:</b> fun.h:64</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="ttdoc">Struct used to call and pass the data to fun.cpp API.</div><div class="ttdef"><b>Definition:</b> fun.h:76</div></div>
<div class="ttc" id="astruct_f_u_n_c_c_a_l_l_html_a15b282cd4eb7e33fe14aaea926b1a98a"><div class="ttname"><a href="struct_f_u_n_c_c_a_l_l.html#a15b282cd4eb7e33fe14aaea926b1a98a">FUNCCALL::n_in_arguments</a></div><div class="ttdeci">int n_in_arguments</div><div class="ttdef"><b>Definition:</b> fun.h:78</div></div>
<div class="ttc" id="astruct_f_u_n_c_c_a_l_l_html_a4c3ce57d43862cda7780e020e6ce2349"><div class="ttname"><a href="struct_f_u_n_c_c_a_l_l.html#a4c3ce57d43862cda7780e020e6ce2349">FUNCCALL::n_out_arguments</a></div><div class="ttdeci">int n_out_arguments</div><div class="ttdef"><b>Definition:</b> fun.h:79</div></div>
<div class="ttc" id="astruct_f_u_n_c_c_a_l_l_html_a6ae4ef88bdc4be97e5363448f9522beb"><div class="ttname"><a href="struct_f_u_n_c_c_a_l_l.html#a6ae4ef88bdc4be97e5363448f9522beb">FUNCCALL::argument</a></div><div class="ttdeci">FUNCARGS * argument</div><div class="ttdef"><b>Definition:</b> fun.h:83</div></div>
<div class="ttc" id="astruct_f_u_n_c_c_a_l_l_html_a964c4a02c04884e73bd261aa10180d4e"><div class="ttname"><a href="struct_f_u_n_c_c_a_l_l.html#a964c4a02c04884e73bd261aa10180d4e">FUNCCALL::n_out_user</a></div><div class="ttdeci">int n_out_user</div><div class="ttdef"><b>Definition:</b> fun.h:80</div></div>
<div class="ttc" id="astruct_f_u_n_c_c_a_l_l_html_afbac69a2aa8ae198e46614a2e1228a56"><div class="ttname"><a href="struct_f_u_n_c_c_a_l_l.html#afbac69a2aa8ae198e46614a2e1228a56">FUNCCALL::err</a></div><div class="ttdeci">char * err</div><div class="ttdef"><b>Definition:</b> fun.h:81</div></div>
<div class="ttc" id="astruct_f_u_n_c_s_t_r_u_c_t_html"><div class="ttname"><a href="struct_f_u_n_c_s_t_r_u_c_t.html">FUNCSTRUCT</a></div><div class="ttdoc">Struct used to pass structs to Octave from the fun library.</div><div class="ttdef"><b>Definition:</b> fun.h:35</div></div>
<div class="ttc" id="astruct_f_u_n_c_s_t_r_u_c_t_html_a03c3251e6292eeca88505406761e4fd7"><div class="ttname"><a href="struct_f_u_n_c_s_t_r_u_c_t.html#a03c3251e6292eeca88505406761e4fd7">FUNCSTRUCT::type</a></div><div class="ttdeci">FUNCTYPE type</div><div class="ttdef"><b>Definition:</b> fun.h:36</div></div>
<div class="ttc" id="astruct_f_u_n_c_s_t_r_u_c_t_html_a175d20292e70fd1fb89e40d6d128653d"><div class="ttname"><a href="struct_f_u_n_c_s_t_r_u_c_t.html#a175d20292e70fd1fb89e40d6d128653d">FUNCSTRUCT::str</a></div><div class="ttdeci">void * str</div><div class="ttdef"><b>Definition:</b> fun.h:42</div></div>
<div class="ttc" id="astruct_f_u_n_c_s_t_r_u_c_t_html_a7512f24fd057d4d93074e9a5c7951157"><div class="ttname"><a href="struct_f_u_n_c_s_t_r_u_c_t.html#a7512f24fd057d4d93074e9a5c7951157">FUNCSTRUCT::rows</a></div><div class="ttdeci">int rows</div><div class="ttdef"><b>Definition:</b> fun.h:38</div></div>
<div class="ttc" id="astruct_f_u_n_c_s_t_r_u_c_t_html_a91ce1300dd1b9c3b18ac38c34171d679"><div class="ttname"><a href="struct_f_u_n_c_s_t_r_u_c_t.html#a91ce1300dd1b9c3b18ac38c34171d679">FUNCSTRUCT::dataReal</a></div><div class="ttdeci">void * dataReal</div><div class="ttdef"><b>Definition:</b> fun.h:40</div></div>
<div class="ttc" id="astruct_f_u_n_c_s_t_r_u_c_t_html_ad40fd4328e821e9eaa553bbdf5c83bba"><div class="ttname"><a href="struct_f_u_n_c_s_t_r_u_c_t.html#ad40fd4328e821e9eaa553bbdf5c83bba">FUNCSTRUCT::cols</a></div><div class="ttdeci">int cols</div><div class="ttdef"><b>Definition:</b> fun.h:39</div></div>
<div class="ttc" id="astruct_f_u_n_c_s_t_r_u_c_t_html_ae298630243ee8fadf8503dd4fd81f52b"><div class="ttname"><a href="struct_f_u_n_c_s_t_r_u_c_t.html#ae298630243ee8fadf8503dd4fd81f52b">FUNCSTRUCT::key</a></div><div class="ttdeci">void * key</div><div class="ttdef"><b>Definition:</b> fun.h:37</div></div>
<div class="ttc" id="astruct_f_u_n_c_s_t_r_u_c_t_html_ae7fbe0037ac898a607fe3648afa61be2"><div class="ttname"><a href="struct_f_u_n_c_s_t_r_u_c_t.html#ae7fbe0037ac898a607fe3648afa61be2">FUNCSTRUCT::dataImg</a></div><div class="ttdeci">void * dataImg</div><div class="ttdef"><b>Definition:</b> fun.h:41</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_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="src_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>
|