Ian Jauslin
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/libinum-doc.html33
-rw-r--r--doc/libinum-doc.php20
2 files changed, 49 insertions, 4 deletions
diff --git a/doc/libinum-doc.html b/doc/libinum-doc.html
index e50e8f7..1486797 100644
--- a/doc/libinum-doc.html
+++ b/doc/libinum-doc.html
@@ -76,10 +76,10 @@
</head>
<body>
- <h1 style="margin-bottom:50pt;">libinum <span style="margin-left:10pt;font-size:18pt">v1.0</span></h1>
+ <h1 style="margin-bottom:50pt;">libinum <span style="margin-left:10pt;font-size:18pt">v1.0.1</span></h1>
<p>
- This is the official documentation for <b>libinum</b>, version 1.0.
+ This is the official documentation for <b>libinum</b>, version 1.0.1.
</p>
<h2 style="margin-top:50pt;">Table of contents</h2>
@@ -1262,6 +1262,35 @@
copy <code>input</code> to the array pointed to by <code>output</code>. Does not initialize <code>*output</code>, so <code>*output</code> must be initialized ahead of time, and its memory must be larger or equal to the length of <code>input</code>. Returns <code>LIBINUM_ERROR_SIZE_MISMATCH</code> if the memory of <code>*output</code> is smaller than the length of <code>input</code>.
</li>
<br>
+ <li id="func_array_alloc_tmps">
+
+ <div style="margin-bottom:5pt">
+ <code id="func_array_alloc_tmps_mpfr">int array_mpfr_alloc_tmps(unsigned int n, array_mpfr* array)</code>
+ </div>
+
+ <div style="margin-bottom:5pt">
+ <code id="func_array_alloc_tmps_2_mpfr">int array_2_mpfr_alloc_tmps(unsigned int n, array_2_mpfr* array)</code>
+ </div>
+
+ <div style="margin-bottom:5pt">
+ <code id="func_array_alloc_tmps_str">int array_str_alloc_tmps(unsigned int n, array_str* array)</code>
+ </div>
+
+ <div style="margin-bottom:5pt">
+ <code id="func_array_alloc_tmps_polynomial_double">int array_polynomial_double_alloc_tmps(unsigned int n, array_polynomial_double* array)</code>
+ </div>
+
+ <div style="margin-bottom:5pt">
+ <code id="func_array_alloc_tmps_polynomial_ldouble">int array_polynomial_ldouble_alloc_tmps(unsigned int n, array_polynomial_ldouble* array)</code>
+ </div>
+
+ <div style="margin-bottom:5pt">
+ <code id="func_array_alloc_tmps_polynomial_mpfr">int array_polynomial_mpfr_alloc_tmps(unsigned int n, array_polynomial_mpfr* array)</code>
+ </div>
+ <br>
+ Ensure that <code>*array</code> has at least <code>n</code> allocated values. If it has fewer, then allocate as many as needed.
+ </li>
+ <br>
<li id="func_array_subarray">
<div style="margin-bottom:5pt">
diff --git a/doc/libinum-doc.php b/doc/libinum-doc.php
index 2daf429..d140ab2 100644
--- a/doc/libinum-doc.php
+++ b/doc/libinum-doc.php
@@ -76,10 +76,10 @@
</head>
<body>
- <h1 style="margin-bottom:50pt;">libinum <span style="margin-left:10pt;font-size:18pt">v1.0</span></h1>
+ <h1 style="margin-bottom:50pt;">libinum <span style="margin-left:10pt;font-size:18pt">v1.0.1</span></h1>
<p>
- This is the official documentation for <b>libinum</b>, version 1.0.
+ This is the official documentation for <b>libinum</b>, version 1.0.1.
</p>
<h2 style="margin-top:50pt;">Table of contents</h2>
@@ -839,6 +839,22 @@
copy <code>input</code> to the array pointed to by <code>output</code>. Does not initialize <code>*output</code>, so <code>*output</code> must be initialized ahead of time, and its memory must be larger or equal to the length of <code>input</code>. Returns <code>LIBINUM_ERROR_SIZE_MISMATCH</code> if the memory of <code>*output</code> is smaller than the length of <code>input</code>.
</li>
<br>
+ <li id="func_array_alloc_tmps">
+ <?php
+ for ($i=0; $i<count($typenames_init); $i++){
+ $TYPENAME=$typenames_init[$i];
+ $TYPE=$types_init[$i];
+ print("
+ <div style=\"margin-bottom:5pt\">
+ <code id=\"func_array_alloc_tmps_${TYPENAME}\">int array_${TYPENAME}_alloc_tmps(unsigned int n, array_${TYPENAME}* array)</code>
+ </div>
+ ");
+ }
+ ?>
+ <br>
+ Ensure that <code>*array</code> has at least <code>n</code> allocated values. If it has fewer, then allocate as many as needed.
+ </li>
+ <br>
<li id="func_array_subarray">
<?php
for ($i=0; $i<count($typenames); $i++){