| 1 | initial version |
Is this what you want?
f_1 = lambda M,i: 2*M[i,0]+3*M[i,1]
| 2 | No.2 Revision |
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) )
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.