- qspec.cast_sympy ( * args , as_sympy = True , dtype = 'float' )[source]
Cast the arguments
argsto asympytype (symbol) or the specifieddtype.- Parameters:
-
- argssympy_like
The arguments.
- as_sympybool
Return the result as a symbol (
True) or as afloat(False).- dtypetype
The type to use if
as_sympy == False.
- Returns:
-
- cast_argssympy_like
The cast arguments.