Math Function In Python

Hi,
I'm begining with python in maya, and I can't find the equivalent math functions as in MEL, like :
dot, cross...

I saw I can do all this with this kind lines :

import maya.mel as mm
res = mm.eval ("cross <> <>;")
print r

but it's a bit tedious if I want to compute things with variables from python. I mean I'll have to concatenate to build a string as a mel declaration of a vector like :
v1 = (1.0,2.0,3.0)
v2 = (3.0,2.0,1.0)

res = mm.eval ("cross <> <>;")
...

Or there is an easier way to do this kind of stuff, like "import the good Python library"

Regards,
Philippe.

[codebox]def crossProduct(A,:
return [ A[1] * B[2] - A[2] * B[1],
A[2] * B[0] - A[0] * B[2],
A[0] * B[1] - A[1] * B[0] ][/codebox]

Thanks!
So, there isn't any math lib available in python within maya?

sure lots. But you need to sintall and maybe compile them. maya ships with quite afull rnage of vector math tools in the api section. (scvripts should try to avoid more complex computation alltogether)