Skip to content

Avoiding a Loop?

1 message · Liaw, Andy

#
If `v' the the vector in the first column and `k' is the constant, then the
matrix has k^(j-1) * v in the jth column, right?
[1]     1.00    27.50   756.25 20796.88
[,1]  [,2]    [,3]      [,4]
[1,]    1  27.5  756.25  20796.88
[2,]    2  55.0 1512.50  41593.75
[3,]    3  82.5 2268.75  62390.63
[4,]    4 110.0 3025.00  83187.50
[5,]    5 137.5 3781.25 103984.38

Andy