Generalized inverses and the Bott-Duffin network analysis