From 388b0e0cee3c1fd05bdaaf61c0f38aa1fae4c0e2 Mon Sep 17 00:00:00 2001 From: "J. Derek Tucker" Date: Tue, 26 Dec 2023 18:54:58 -0700 Subject: [PATCH] add python interface --- fdasrsf/utility_functions.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fdasrsf/utility_functions.py b/fdasrsf/utility_functions.py index 29b594a..f8a7f96 100644 --- a/fdasrsf/utility_functions.py +++ b/fdasrsf/utility_functions.py @@ -1147,3 +1147,8 @@ def norm_gam(gam): def mrdivide(a, b): c = dot(a, pinv(b)) return c + + +def rlbfgs_dist(q1, q2): + d = cr.rlbfgs_dist(q1, q2) + return d