1
1
<?xml version="1.0" encoding="UTF-8"?>
2
2
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="stacksize">
4
<refname>stacksize</refname>
5
<refpurpose> set scilab stack size</refpurpose>
8
<title>Calling Sequence</title>
16
<title>Arguments</title>
21
<para>an integer, the required stack size given in number of double precision words</para>
27
<para>a 2-vector [total used]</para>
33
<title>Description</title>
35
Scilab stores "usual" variables in a stack <literal>stk</literal> (for global variables see <link linkend="gstacksize">gstacksize</link>).
38
<literal>stacksize(n)</literal> allows the user to increase or decrease the size of
39
this stack. The maximum allowed size depends on the amount of
40
free memory and swap space available at the time.
43
<literal>stacksize('max')</literal> allows the user to increase the size of
44
this stack to the maximum.
47
<literal>stacksize('min')</literal> allows the user to decrease the size of
48
this stack to the minimum.
51
This function with the <literal>n</literal> argument can now be used everywhere.
54
<literal>sz=stacksize()</literal> returns a 2-vector which contains the current
55
total and used stack size.
57
<para>By default, the size of the stack is 100 000 000.</para>
58
<para>On 64 bit platforms, maximum size of the stack is limited to 268 435 454.</para>
60
<refsection role="see also">
61
<title>See Also</title>
62
<simplelist type="inline">
64
<link linkend="who">who</link>
67
<link linkend="gstacksize">gstacksize</link>
4
<refname>stacksize</refname>
5
<refpurpose> set scilab stack size</refpurpose>
8
<title>Calling Sequence</title>
16
<title>Arguments</title>
21
<para>an integer, the required stack size given in number of double precision words</para>
27
<para>a 2-vector [total used]</para>
33
<title>Description</title>
35
Scilab stores "usual" variables in a stack <literal>stk</literal> (for global variables see <link linkend="gstacksize">gstacksize</link>).
38
<literal>stacksize(n)</literal> allows the user to increase or decrease the size of
39
this stack. The maximum allowed size depends on the amount of
40
free memory and swap space available at the time.
43
<literal>stacksize('max')</literal> allows the user to increase the size of
44
this stack to the maximum.
47
<literal>stacksize('min')</literal> allows the user to decrease the size of
48
this stack to the minimum.
51
This function with the <literal>n</literal> argument can now be used everywhere.
54
<literal>sz=stacksize()</literal> returns a 2-vector which contains the current
55
total and used stack size.
57
<para>By default, the size of the stack is 100 000 000.</para>
58
<para>On 64 bit platforms, maximum size of the stack is limited to 268 435 454.</para>
60
<refsection role="see also">
61
<title>See Also</title>
62
<simplelist type="inline">
64
<link linkend="who">who</link>
67
<link linkend="gstacksize">gstacksize</link>