65fd953207ac61db69e9c79ee5ebf07fa55ea767,geomstats/geometry/hypersphere.py,Hypersphere,tangent_spherical_to_extrinsic,#Hypersphere#Any#Any#,190
Before Change
" to extrinsic coordinates is implemented"
" only in dimension 2.")
base_point_spherical = gs.to_ndarray(base_point_spherical, to_ndim=2)
tangent_vec_spherical = gs.to_ndarray(tangent_vec_spherical, to_ndim=2)
n_samples = base_point_spherical.shape[0]
theta = base_point_spherical[:, 0]
phi = base_point_spherical[:, 1]
jac = gs.zeros((n_samples, self.dimension + 1, self.dimension))
After Change
" only in dimension 2.")
assert gs.ndim(base_point_spherical) == 2
assert gs.ndim(tangent_vec_spherical) == 2
n_samples = base_point_spherical.shape[0]
theta = base_point_spherical[:, 0]
phi = base_point_spherical[:, 1]
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: geomstats/geomstats
Commit Name: 65fd953207ac61db69e9c79ee5ebf07fa55ea767
Time: 2020-04-08
Author: ninamio78@gmail.com
File Name: geomstats/geometry/hypersphere.py
Class Name: Hypersphere
Method Name: tangent_spherical_to_extrinsic
Project Name: geomstats/geomstats
Commit Name: 2f7c4c5274bb2a499988615594363e9e02265189
Time: 2020-04-08
Author: ninamio78@gmail.com
File Name: geomstats/geometry/hypersphere.py
Class Name: HypersphereMetric
Method Name: log
Project Name: geomstats/geomstats
Commit Name: 65fd953207ac61db69e9c79ee5ebf07fa55ea767
Time: 2020-04-08
Author: ninamio78@gmail.com
File Name: geomstats/geometry/hypersphere.py
Class Name: Hypersphere
Method Name: spherical_to_extrinsic
Project Name: geomstats/geomstats
Commit Name: aba65f959fb114e67103a061e92ab5596c557d3d
Time: 2018-12-27
Author: ninamio78@gmail.com
File Name: geomstats/lie_group.py
Class Name: LieGroup
Method Name: group_exp