Created
November 28, 2016 16:41
-
-
Save josesoyo/b2a77b258b2d7b84973f8c9064e3aa15 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let ws = WorkSize(262144L) // 2^18 | |
// Define the long Arrays | |
let A1 = Array.zeroCreate<float32> 262144 | |
let A2 = Array.zeroCreate<float32> 262144 |> Array.mapi(fun i _ -> float32(i)) | |
// Define the short arrays | |
let amplitudes = [|0.2f;0.5f;0.35f|] | |
let frequencies = [|1.2f;10.f;52.5f|] // this will be the iters | |
let phases = [|pi;pi/4.f;1.5f*pi|] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment