Projection documentation

Welcome to documentation for Projection!

Projection provides a small function that computes the stereographic projection of a point cloud in RN to a point cloud in R(N1):

P(x,y,z,...,t)P(x,y,z,...) where x=x/(1t), y=y/(1t), z=z/(1t), ...

Example:

from projection import stereographic_projection
import numpy as np

print(stereographic_projection(np.random.rand(1,4)))
# array([[ 0.14022471,  0.96360618,  0.94909878]])