Before revision: In this note I derive simple formulas based on the adjacency matrix of a network to compute measures associated with  Burt's structural holes (effective size,  local constraint and constraint).
After revision: In this note I derive simple formulas based on the adjacency matrix of a network to compute measures associated with Ronald S. Burt's structural holes (effective size, local constraint and constraint).