math

At the stage where we work with simple lists rather than tensors, using built-in math module is often sufficient for basic mathematical operations.

from math import exp, log, sqrt

and, so on. These are not vectorized functions, therefore you need to do the mapping of a list of values to their mathematical functions yourself.