@@ -39,29 +39,46 @@ cdef class _Lambdify(object):
39
39
40
40
cdef _init(self , symengine.vec_basic& args_, symengine.vec_basic& outs_, cppbool cse)
41
41
cdef _load(self , const string & s)
42
- cpdef unsafe_real(self ,
43
- double [::1 ] inp, double [::1 ] out,
44
- int inp_offset = * , int out_offset = * )
45
- cpdef unsafe_complex(self , double complex [::1 ] inp, double complex [::1 ] out,
46
- int inp_offset = * , int out_offset = * )
47
42
cpdef eval_real(self , inp, out)
48
43
cpdef eval_complex(self , inp, out)
44
+ cpdef unsafe_eval(sef, inp, out, unsigned nbroadcast = * )
49
45
50
46
cdef class LambdaDouble(_Lambdify):
51
47
cdef vector[symengine.LambdaRealDoubleVisitor] lambda_double
52
- cdef vector[symengine.LambdaComplexDoubleVisitor] lambda_double_complex
53
48
cdef _init(self , symengine.vec_basic& args_, symengine.vec_basic& outs_, cppbool cse)
54
49
cpdef unsafe_real(self , double [::1 ] inp, double [::1 ] out, int inp_offset = * , int out_offset = * )
55
- cpdef unsafe_complex(self , double complex [::1 ] inp, double complex [::1 ] out, int inp_offset = * , int out_offset = * )
56
50
cpdef as_scipy_low_level_callable(self )
57
51
cpdef as_ctypes(self )
52
+ cpdef unsafe_real(self ,
53
+ double [::1 ] inp, double [::1 ] out,
54
+ int inp_offset = * , int out_offset = * )
55
+
56
+ cdef class LambdaComplexDouble(_Lambdify):
57
+ cdef vector[symengine.LambdaComplexDoubleVisitor] lambda_double
58
+ cdef _init(self , symengine.vec_basic& args_, symengine.vec_basic& outs_, cppbool cse)
59
+ cpdef unsafe_complex(self , double complex [::1 ] inp, double complex [::1 ] out, int inp_offset = * , int out_offset = * )
58
60
59
61
IF HAVE_SYMENGINE_LLVM:
60
- cdef class LLVMDouble (_Lambdify):
62
+ cdef class _LLVMLambdify (_Lambdify):
61
63
cdef int opt_level
64
+
65
+ cdef class LLVMDouble(_LLVMLambdify):
62
66
cdef vector[symengine.LLVMDoubleVisitor] lambda_double
63
67
cdef _init(self , symengine.vec_basic& args_, symengine.vec_basic& outs_, cppbool cse)
64
68
cdef _load(self , const string & s)
65
69
cpdef unsafe_real(self , double [::1 ] inp, double [::1 ] out, int inp_offset = * , int out_offset = * )
66
70
cpdef as_scipy_low_level_callable(self )
67
71
cpdef as_ctypes(self )
72
+
73
+ cdef class LLVMFloat(_LLVMLambdify):
74
+ cdef vector[symengine.LLVMFloatVisitor] lambda_double
75
+ cdef _init(self , symengine.vec_basic& args_, symengine.vec_basic& outs_, cppbool cse)
76
+ cdef _load(self , const string & s)
77
+ cpdef unsafe_real(self , float [::1 ] inp, float [::1 ] out, int inp_offset = * , int out_offset = * )
78
+
79
+ IF HAVE_SYMENGINE_LLVM_LONG_DOUBLE:
80
+ cdef class LLVMLongDouble(_LLVMLambdify):
81
+ cdef vector[symengine.LLVMLongDoubleVisitor] lambda_double
82
+ cdef _init(self , symengine.vec_basic& args_, symengine.vec_basic& outs_, cppbool cse)
83
+ cdef _load(self , const string & s)
84
+ cpdef unsafe_real(self , long double [::1 ] inp, long double [::1 ] out, int inp_offset = * , int out_offset = * )
0 commit comments