w[=Genw[,],r]