Hi,

I've got a function write in Matlab, and I need to tranlate it into python.
I've found an expresion like this:

BF = b0 + (b1 + (b2 + (b3 + (b4 + (b5 + b6*T).*T).*T).*T).*T).*T
or
dBFdT = b1 + (2 * b2 + (3 * b3 + (4 * b4 + (5 * b5 + 6* b6*T).*T).*T).*T).*T

T is a matrix and the rest of the variables are floats. I don't know why are
this '.' in the expresion, and that's why I can't translate it.

I tried to do it without the '.' but then the expression it's incorrect. We
can't multiply two matrix wich number of rows and columns are the same.

''' exceptions.ValueError : objects are not aligned '''

There's some function in numpy to translate this expression?

Thanks in advance,
Miquel
_______________________________________________
Numpy-discussion mailing list
[email protected]
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to