search for: 7000x7000

Displaying 1 result from an estimated 1 matches for "7000x7000".

Did you mean: 00007000
2005 Oct 07
6
Applying a function to each element of an array
Hi, I have a 7000x7000 matrix, and each element is an integer. For each element, I want to apply the function : wt <- 0 for(q in 1:count){ wt <- wt + 0.5^(q-1) } I get the value of 'count' from the elements in the matrix , and want to store the corresponding 'wt' value for that element. I su...