MRI_user

0 Reputation

2 Badges

14 years, 307 days

MaplePrimes Activity


These are questions asked by MRI_user

Hi, this may be a stupid question, but I have trouble getting it right...

I want to create a matrix from a function that uses some of the arguments of the fuction as indices, but want to carry on the other arguments, here is an example of what I have:

MyFunction:=(a,b,c,k,l)->a+b+c+k+l;

MyMatrix:=Matrix(3,3,(k,l)->MyFunction(a,b,c,k,l)); # this is working but not what I want

MyMatrix now contains a,b,c as variables but not as function parameters ...

Page 1 of 1