[OctDev] miscellaneous/inst/test_inline_1.m
David Bateman
David.Bateman at motorola.com
Thu Jan 17 03:17:59 CST 2008
Muthiah Annamalai wrote:
> Muthiah Annamalai wrote:
>
>> Hello there,
>> Why is this function there?
>> miscellaneous/inst/test_inline_1.m
>>
>> I cant see if its intended for some use
>> or its living in SVN by mistake. Can
>> someone please clarify?
>>
>> Thanks,
>> -Muthu
>>
> I looked at the file again, and seems inline()
> is a octave-builtin function.
>
> This file is also being distributed/packaged,
> but I dont see any Make rules for it.
>
> Also can someone confirm if this is really an
> oversight?
>
> Thanks,
> -Muthu
>
What about if we add the test block
%!shared fn
%! fn = inline ("x.^2 + 1","x");
%!assert (feval (fn, 6), 37)
%!assert (fn (6), 37)
below the Finline function in ov-fcn-inline.cc in octave itself and just
dump this file from octave-forge.
D.
More information about the Octave-maintainers
mailing list