| Author |
Comment/Response |
kyra
|
09/05/12 04:04am
Hi!
how do i assign an aritrary list to a function? like
A={{1,1},{1,2},{1,3}}
where F[A] returns:
F[A]=A[[1,1]]+A[[1,2]]
i tried the following, but it is not working:
F[Mat_]:=Mat[[1,1]]+Mat[[1,2]]
i am using mahtematica 8
Thank you for your help!
Kyra
URL: , |
|