Module: tfg.math.math_helpers

This module contains math routines that are shared by across different modules.

Functions

cartesian_to_spherical_coordinates(...): Function to transform Cartesian coordinates to spherical coordinates.

double_factorial(...): Computes the double factorial of n.

factorial(...): Computes the factorial of n.

spherical_to_cartesian_coordinates(...): Function to transform Cartesian coordinates to spherical coordinates.

square_to_spherical_coordinates(...): Maps points from a unit square to a unit sphere.