<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Le 22/02/2018 à 14:18, Stéphane
Mottelet a écrit :<br>
</div>
<blockquote cite="mid:6d82edc6-3a68-f7e3-d5b1-755db10ebac9@utc.fr"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div class="moz-cite-prefix">Really, nobody knows ?<br>
<br>
S.<br>
<br>
Le 20/02/2018 à 11:57, Stéphane Mottelet a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:e8820c71-751d-77bf-913e-a445d711e3dd@utc.fr">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div class="moz-cite-prefix">Hello,<br>
<br>
Continuing on this subject, Hello, I discovered that the new
Scilab API allows to modify input parameters of a function
(in-place assignment), e.g. I have modified the previous daxpy
such that the expression<br>
<br>
daxpy(2,X,Y)<br>
<br>
has no output but formally does "Y+=2*X" if such an operator
would exist in Scilab. In this case there is no matrix copy at
all, hence no memory overhead.<br>
<br>
Was it possible to do this with the previous API ?</div>
</blockquote>
</blockquote>
<br>
On this topic: the strange builtin function intppty() has been
continued in Scilab 6:<br>
<a class="moz-txt-link-freetext" href="https://help.scilab.org/docs/6.0.1/en_US/intppty.html">https://help.scilab.org/docs/6.0.1/en_US/intppty.html</a><br>
Unfortunately, the page has no example. And some words look not
up-to-date: <br>
<table style="color: rgb(0, 0, 0); font-family: sans-serif;
font-size: 16px; font-style: normal; font-variant-ligatures:
normal; font-variant-caps: normal; font-weight: 400;
letter-spacing: normal; orphans: 2; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
text-decoration-style: initial; text-decoration-color: initial;">
<tbody>
<tr>
<td valign="top"><img
src="cid:part1.6FD74BFD.BC06871E@free.fr"></td>
<td valign="top">
<div class="warning"><i>Warning: declaring that the
interface with number</i><i><span> </span></i><i><code
class="literal" style="font-size: 13px;">fun</code></i><i><span> </span></i><i>can..</i>.</div>
</td>
</tr>
</tbody>
</table>
Actually, fun is no longer the numerical id of the gateway, but its
literal name.<br>
<br>
What's hard to understand for me is that intppty() applies to all
functions of a gateway, not one by one.<br>
By the way, the requirement to make a gateway or a builtin function
"switchable" is unclear.<br>
When testing intppty() with an arbitrary gateway name that matches
none of Scilab ones,<br>
it does not complain.<br>
<br>
Some benchmarks would be welcome to illustrate the actual action of
this function.<br>
<br>
Best regards<br>
Samuel<br>
<br>
</body>
</html>