Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Is this what you want?

f_1 = lambda M,i: 2*M[i,0]+3*M[i,1]

Is this what you want?

f_1 = lambda M,i: 2*M[i,0]+3*M[i,1]
print( f_1(Matrix([[10,12],[25,2]]), 1) )