1c21df6eea15d8da0cd7ea1b82ab24869eb83f48,geomstats/geometry/product_riemannian_metric.py,ProductRiemannianMetric,inner_product,#ProductRiemannianMetric#Any#Any#Any#Any#,136

Before Change



        if point_type == "matrix":
            // TODO (ninamiolane): Vectorize this more efficiently
            tangent_vec_a = gs.to_ndarray(tangent_vec_a, to_ndim=2)
            tangent_vec_a = gs.to_ndarray(tangent_vec_a, to_ndim=3)
            tangent_vec_b = gs.to_ndarray(tangent_vec_b, to_ndim=2)
            tangent_vec_b = gs.to_ndarray(tangent_vec_b, to_ndim=3)
            base_point = gs.to_ndarray(base_point, to_ndim=2)

After Change


            Inner-product of the two tangent vectors.
        
        if base_point is None:
            base_point = gs.array([[None]] * self.n_metrics)

        if point_type is None:
            point_type = self.default_point_type
        geomstats.errors.check_parameter_accepted_values(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: geomstats/geomstats
Commit Name: 1c21df6eea15d8da0cd7ea1b82ab24869eb83f48
Time: 2020-04-30
Author: nicolas.guigui@inria.fr
File Name: geomstats/geometry/product_riemannian_metric.py
Class Name: ProductRiemannianMetric
Method Name: inner_product


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


Project Name: geomstats/geomstats
Commit Name: e383df3f691db6e4974c7ad97c8303ebfdc40fc6
Time: 2018-11-06
Author: null
File Name: geomstats/invariant_metric.py
Class Name: InvariantMetric
Method Name: inner_product_matrix