Advertisement
Guest User

Untitled

a guest
Nov 26th, 2014
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. a) get incident matrix of a graph.
  2. b-) get transpose of the incident matrix
  3. c-)multiply incident matrix and its transpose (incident matrix * its transpose)
  4. d) create 2*Identity matrix .
  5. e) subtract this identity matrix from output of multiplication
  6.  
  7. f) this give us the adjancy matrix of the line graph
  8. d) then create line graph
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement