Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions about interfacing with, or features inspired or demonstrated by Python--a programming language featuring a dynamic type system, automatic memory management, and a comprehensive standard library.
3
votes
0
answers
37
views
Mathematica call CompiledFunction from Python with Listable and Parrallelization attributes
Using Export I was able to extract the function to C code:
Export["waveform.c", waveformComp]
But what do I do now how can I import it into python? … An example python code that should work using SIMD instructions would be:
import numpy as np
import waveform
res = waveform(np.array([0,1]), np.array([0, np.pi]), np.array([np.pi,2*np.pi])) …