octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OctDev] miscellaneous/inst/test_inline_1.m


From: David Bateman
Subject: Re: [OctDev] miscellaneous/inst/test_inline_1.m
Date: Thu, 17 Jan 2008 10:17:59 +0100
User-agent: Thunderbird 1.5.0.7 (Windows/20060909)

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]