NLA-lib Explorer

NLAlib.GraphEdgeOrientation.edgeResistance

Library · def

Effective resistance between the endpoints of a given edge record, computed with the Laplacian pseudoinverse and the signed incidence vector. [SpielmanSrivastava2011, §2].

NLAlib.GraphEdgeOrientation.edgeResistance.{u_1, u_2} {V : Type u_1} {E : Type u_2}
  {G : SimpleGraph V} (o : GraphEdgeOrientation G E) [DecidableEq V] [Fintype V] [Fintype E]
  (w : E → ℝ) (e : E) : ℝ

Full source on GitHub

Import NLAlib.Matrix.Structured.EdgeResistance.