Jit for Array functions #25080
-
Hi List, In order to speed up this I want to add @jit before the function tri() - the motivation is: In other words, since I used:
and these 'v' is actually Copies of 'v' if I didnt use @jit as per the above statements (which make them in efficient program, If, say, d > 100). However when I uncomment @jit it made error (as shown below) Thanks in advance KrishnaError Log ... [[ 122. 20. -69. 110. 19.]
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
try
|
Beta Was this translation helpful? Give feedback.
-
Thanks a lot...it works! I wonder Why it works? Perhaps @jit need an Array based sgn() ? |
Beta Was this translation helpful? Give feedback.
try