-
Notifications
You must be signed in to change notification settings - Fork 15
Home
Riccardo De Maria edited this page Apr 24, 2021
·
5 revisions
Arguments
Conversion tables
-
double *restrict x
-
Arg(atype=xo.Float64, pointer=True, name='x')
- takes np array, xo.Float64 arrays
-
const double *restrict x
-
Arg(atype=xo.Float64,pointer=True, name='x', const=True)
- takes np array, xo.Float64 arrays
-
-
Float64_N x
whereFloa64_N
-
Arg(atype=xo.Float64[:],name='x')
- takes xo.Float64[:] objects that are decleared as
typedef Struct Float64_N *restrict Float64_N
-
-
const char* x
-
Arg(atype=xo.String,name='x',const=True)
- takes python string (to utf8), bytes, bytearray, xo.String
-
char* x
-
Arg(atype=xo.String,name='x',const=True)
- takes bytearray, xo.String
-
MyType x
-
Arg(atype="MyType",name='x')
- takes bytes, memview
-
-
MyType *restrict x
->Arg(atype="MyType",name='x')
-
- takes memview
-
-
-
const MyType *restrict x
->Arg(atype="MyType",name='x')
-
- takes memview
-