public static Interface.IVector multMatrixLowerVector(Interface.IMatrix matr, Interface.IVector vec, int row) { Interface.IVector res = vec.Clone() as Interface.IVector; res.Nullify(); matr.RunRow ( (int i, int j, double el) => { res[i] += el * vec[j]; },row ); return res; }