/// <summary> /// replaces values in vMatrix whic are %lt; vWhat with vWith /// </summary> /// <param name="vMatrix"></param> /// <param name="vWhat"></param> /// <param name="vWith"></param> public static void ReplaceLessthanWith(this IncidenceMatrix M, int limit, int value) => M.MapInplace(d => (d < limit) ? value : d);