octave-maintainers
[Top][All Lists]
Advanced

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

Re: JIT - automated mexing


From: Judd Storrs
Subject: Re: JIT - automated mexing
Date: Mon, 26 Jul 2010 11:54:01 -0400

On Mon, Jul 26, 2010 at 11:42 AM, Alexander Barth <address@hidden> wrote:
function x = foo(a,b)
%oct-type a,x double
%oct-type b int
x = a+b

But return types in octave are very unruly. For example how would you declare the return type of sort()?

Also, none come immediately to mind but can't functions return different types based on the number of input and output arguments that are used?


--judd

reply via email to

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