title: What is the difference between @jit and @vectorize in numba?
body: <p>When should I use @vectorize? </p>
  
  <p>I tried @jit and show that part of the code below,</p>
  
  <pre><code>from numba import jit
  
  @jit
  def kma(g,temp): 
      k=np.exp(-(g+np.abs(g))/(2*temp))   
      return k
  </code></pre>
  
  <p>but my code didn't accelerate the algorithm. Why?</p>