Displaying 2 results from an estimated 2 matches for "w_m".
Did you mean:
__m
2011 Oct 03
1
Matrix/Vector manipulation
...e (v). Now I recurse into the vector (from left to right) with what you have left from the difference of volume minus current weight, and stop when the difference is less than or equal to the current weight.
Vectors W and R have the same length, and v is always a positive integer.
W: {w_1 w_2 .. w_m}
R: {r_1 r_2 .. r_m}
my_cumsum <- function(v, R, W) {
if (v <= W[1]) # check the head
v*R[1]
else
W[1]*R[1] + my_cumsum(v - W[1], R[2:length(R)], W[2:length(W)]) # recurse the tail
}
Any help is greatly appreciated!
Fernando Alvarez
"Great ideas originate in the muscles."...
2008 Jun 30
4
Rebuild of kernel 2.6.9-67.0.20.EL failure
Hello list.
I'm trying to rebuild the 2.6.9.67.0.20.EL kernel, but it fails even without
modifications.
How did I try it?
Created a (non-root) build environment (not a mock )
Installed the kernel.scr.rpm and did a
rpmbuild -ba --target=`uname -m` kernel-2.6.spec 2> prep-err.log | tee
prep-out.log
The build failed at the end:
Processing files: kernel-xenU-devel-2.6.9-67.0.20.EL
Checking