brainpy.math.set#

brainpy.math.set(mode=None, dt=None, x64=None, complex_=None, float_=None, int_=None, bool_=None)[source]#

Set the default computation environment.

Parameters:
  • mode (Mode) – The computing mode.

  • dt (float) – The numerical integration precision.

  • x64 (bool) – Enable x64 computation.

  • complex (type) – The complex data type.

  • float – The floating data type.

  • int – The integer data type.

  • bool – The bool data type.