Module: tfg.math.math_helpers
Stay organized with collections
Save and categorize content based on your preferences.
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-09-11 UTC.
[null,null,["Last updated 2020-09-11 UTC."],[],[],null,["# Module: tfg.math.math_helpers\n\n\u003cbr /\u003e\n\n|----------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/graphics/blob/master/tensorflow_graphics/math/math_helpers.py) |\n\nThis module contains math routines that are shared by across different modules.\n\nFunctions\n---------\n\n[`cartesian_to_spherical_coordinates(...)`](../../tfg/math/math_helpers/cartesian_to_spherical_coordinates): Function to transform Cartesian coordinates to spherical coordinates.\n\n[`double_factorial(...)`](../../tfg/math/math_helpers/double_factorial): Computes the double factorial of `n`.\n\n[`factorial(...)`](../../tfg/math/math_helpers/factorial): Computes the factorial of `n`.\n\n[`spherical_to_cartesian_coordinates(...)`](../../tfg/math/math_helpers/spherical_to_cartesian_coordinates): Function to transform Cartesian coordinates to spherical coordinates.\n\n[`square_to_spherical_coordinates(...)`](../../tfg/math/math_helpers/square_to_spherical_coordinates): Maps points from a unit square to a unit sphere."]]