Re: Debug (sympy-Function; lambdify)

2013-10-10 Thread Marco Buttu
On 10/11/2013 08:28 AM, Surbhi Gupta wrote: This is the code I m trying to run: from sympy import * import numpy as np from sympy import symbols def deriv(x,t): a = array(x) for i in range(0,len(x)): temp = x[i] a[i] = temp[0].diff(t) return a def matrixmult (

Debug (sympy-Function; lambdify)

2013-10-10 Thread Surbhi Gupta
This is the code I m trying to run: from sympy import * import numpy as np from sympy import symbols def deriv(x,t): a = array(x) for i in range(0,len(x)): temp = x[i] a[i] = temp[0].diff(t) return a def matrixmult (A, B): C = [[0 for row in range(len(A))] for col