General treatment of linear mammillary models.