title: Using Accelerate framework in Swift
body: <p>From the apple docs</p>
  
  <p>According to the docs</p>
  
  <pre><code>    func vvlog10f(_ _: UnsafeMutablePointer&lt;Float&gt;,
                  _ _: UnsafePointer&lt;Float&gt;,
                  _ _: UnsafePointer&lt;Int32&gt;)
   /* y */ /* x */ /* n */
  </code></pre>
  
  <p>So what am I doing wrong?</p>
  
  <p>Here's my code</p>
  
  <pre><code>import Accelerate
  
  var input:[Float] = [0.124,0.5,0.0056]
  var output:[Float] = []
  var i:Int32 = Int32(input.count)
  vvlog10f(&amp;output,&amp;input,&amp;i)
  
  println("output is \(output)")
  </code></pre>
  
  <p>The output is []</p>