TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

Module: tfg.math.math_helpers

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

Defined in math/math_helpers.py.

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.