Ahmad Kamal on Sat, 14 Jul 2012 15:28:11 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Hello


please i want to ask how can i do the following i know it may be a silly question but i failed to do it:

 if i have a vector of random polynomials and i want to evaluate all of them with different variables and put the result in a matrix. to make myself clear :

consider i have a vector of polynomials called "players"

 f(x, A = 5) = (1 + random(A-1)) * x^(m-1) + random(A*x^(m-2));
players=vector(n, i, f(x));

and i want to evaluate these polynomials with several variables

x=[1,2,3,4]

and i want to put the result in a matrix