def rowmul(matlist, index, k,  K):
    for i in range(len(matlist[index])):
        matlist[index][i] = k*matlist[index][i]
    return matlist
Multiplies index row with k
dataset/ETHPy150Open sympy/sympy/sympy/matrices/densetools.py/rowmul