graphonL2norm function

(squared) L2-norm of the graphons associated with two stochastic block model parameters

(squared) L2-norm of the graphons associated with two stochastic block model parameters

graphonL2norm(theta1, theta2)

Arguments

  • theta1: a stochastic block model parameter
  • theta2: a stochastic block model parameter

Returns

(squared) L2-norm of the graphons associated with two stochastic block model parameters

Examples

theta1 <- list(pi=c(.5,.5), gamma=matrix((1:4)/8,2,2)) theta2 <- list(pi=c(.5,.5), gamma=matrix(4:1/8,2,2)) graphonL2norm(theta1, theta2)
  • Maintainer: Tabea Rebafka
  • License: GPL-2
  • Last published: 2023-06-07

Useful links