Exact latent-segment lengths under a synthetic geometry
Source:R/synthetic_geometry.R
edge.lengths.synthetic.geometry.RdFor quadforms this integrates the induced metric along each straight latent segment. Flat quadforms reduce exactly to Euclidean distance.
Examples
geometry <- synthetic.quadform(1L, 1L)
edge.lengths.synthetic.geometry(geometry, matrix(0), matrix(2))
#> [1] 2