powered by
Calculate the signed vertex incidence matrix.
sVIM(E_List)
Return a signed, m by n, vertex incidence matrix, B.
B
Edge list formatted | n1 | n2 | weight |.
Alexander Mercier
Intended as internal function.
E_List = matrix(c(1,1,2,2,3,3,1,1,1), 3, 3) colnames(E_List) <- c("n1", "n2", "weight") B = sVIM(E_List)
Run the code above in your browser using DataLab