def compute_dual_rmetric(self,Ynew=None):
usedY = self.Y if Ynew is None else Ynew<EOL>rieman_metric = RiemannMetric(usedY, self.laplacian_matrix)<EOL>return rieman_metric.get_dual_rmetric()<EOL>
Helper function to calculate the