octave-maintainers
[Top][All Lists]
Advanced

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

Re: Question of JITC


From: lyh.kernel
Subject: Re: Question of JITC
Date: Wed, 31 Jul 2013 23:21:54 +0800

Hello Max,

I am wondering how to use built-in function with JITC. I write the following script:

$ cat builtin_func.m
A = [1, 2; 3, 4];

i = 0;
do
  A = sin(A);
  i++;
until (i == 1)

disp(A)

However when I run this script:

$ octave --debug-jit builtin_func.m
warning: function ./test.m shadows a core library function
GNU Octave, version 3.7.5
Copyright (C) 2013 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.

Octave was configured for "x86_64-unknown-linux-gnu".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/get-involved.html

Read http://www.octave.org/bugs.html to learn how to submit bug reports.

For information about changes from previous versions, type 'news'.

jit fail: Missing overload in type inference for #2 = call  (any: sin#26)
   0.84147   0.90930
   0.14112  -0.75680

It seems that there is something wrong in JITC. Could you tell me how to use built-in function in JITC?
Thanks a lot.

reply via email to

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