For GEigsMode::ShiftInvert and GEigsMode::Cayley NOTE: A must be symmetric and B positive semi-definite