0176f82ea2730100451729c3494227b1e3f073a1,geomstats/geometry/hyperbolic.py,Hyperbolic,to_coordinates,#Hyperbolic#Any#Any#,254
Before Change
return point
else:
extrinsic =\
self.coords_transform[self.coords_type + "-extrinsic"
](point)
return self.coords_transform[
"extrinsic-" + to_coords_type
](extrinsic)
def from_coordinates(self, point, from_coords_type):
Convert to a type of coordinates given some type.
After Change
or shape=[n_sample, dimension + 1]
Point in hyperbolic space in coordinates given by to_point_type.
return Hyperbolic.change_coordinates_system(point,
self.coords_type,
to_coords_type)
def from_coordinates(self, point, from_coords_type):
Convert to a type of coordinates given some type.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 9
Instances
Project Name: geomstats/geomstats
Commit Name: 0176f82ea2730100451729c3494227b1e3f073a1
Time: 2020-04-03
Author: gerald@pop-os.localdomain
File Name: geomstats/geometry/hyperbolic.py
Class Name: Hyperbolic
Method Name: to_coordinates
Project Name: geomstats/geomstats
Commit Name: 0176f82ea2730100451729c3494227b1e3f073a1
Time: 2020-04-03
Author: gerald@pop-os.localdomain
File Name: geomstats/geometry/hyperbolic.py
Class Name: Hyperbolic
Method Name: from_coordinates
Project Name: geomstats/geomstats
Commit Name: 0176f82ea2730100451729c3494227b1e3f073a1
Time: 2020-04-03
Author: gerald@pop-os.localdomain
File Name: geomstats/geometry/hyperbolic.py
Class Name: Hyperbolic
Method Name: random_uniform