Default Math Parameters

Default Math Parameters#

The math module for whole BrainPy ecosystem. This module provides basic mathematical operations, including:

  • numpy-like array operations

  • linear algebra functions

  • random sampling functions

  • discrete fourier transform functions

  • just-in-time compilation for class objects

  • automatic differentiation for class objects

  • dedicated operators for brain dynamics modeling

  • activation functions

  • device/dtype switching

  • and others

Details in the following.

mode

Normal non-batching mode.

membrane_scaling

a no-op Scaling with scale=1 and bias=0.

dt

Convert a string or number to a floating-point number, if possible.

bool_

int_

float_

complex_