WIP: Astnodes for interpolation
Files
27+ 69
− 4
@@ -9,11 +9,12 @@ from sympy.printing.ccode import C89CodePrinter
@@ -9,11 +9,12 @@ from sympy.printing.ccode import C89CodePrinter
PointerType, VectorType, address_of, cast_func, create_type, get_type_of_expression, reinterpret_cast_func,
bit_shift_left, bit_shift_right, bitwise_and, bitwise_or, bitwise_xor, int_div, int_power_of_2, modulo_ceil)
@@ -124,6 +125,12 @@ class CustomCodeNode(Node):
@@ -124,6 +125,12 @@ class CustomCodeNode(Node):
@@ -168,7 +175,8 @@ class CBackend:
@@ -168,7 +175,8 @@ class CBackend:
function_arguments = ["%s %s" % (str(s.symbol.dtype), s.symbol.name) for s in node.get_parameters()]
@@ -247,6 +255,12 @@ class CBackend:
@@ -247,6 +255,12 @@ class CBackend:
@@ -369,10 +383,61 @@ class CustomSympyPrinter(CCodePrinter):
@@ -369,10 +383,61 @@ class CustomSympyPrinter(CCodePrinter):