Add variable i as an imaginary unit

This commit is contained in:
Peter Baratta
2013-06-10 10:51:17 -04:00
parent 944e3390e0
commit 0f72eedd37

View File

@@ -57,7 +57,8 @@ DEFAULT_FUNCTIONS = {'sin': numpy.sin,
'arccsch': calcfunctions.arccsch,
'arccoth': calcfunctions.arccoth
}
DEFAULT_VARIABLES = {'j': numpy.complex(0, 1),
DEFAULT_VARIABLES = {'i': numpy.complex(0, 1),
'j': numpy.complex(0, 1),
'e': numpy.e,
'pi': numpy.pi,
'k': scipy.constants.k,