From: Tuszynski, Jaroslaw W. <JAROSLAW.W.TUSZYNSKI_at_saic.com>

Date: Sat 08 Oct 2005 - 05:17:46 EST

R-help@stat.math.ethz.ch mailing list

https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide!

http://www.R-project.org/posting-guide.html

R-help@stat.math.ethz.ch mailing list

https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Oct 08 05:20:18 2005

Date: Sat 08 Oct 2005 - 05:17:46 EST

I suspect that loop would be the fastest since it would have the least
memory overhead. You do not want to have too many internal copies of
7000x7000 matrices.

Jarek

====================================================\==== Jarek Tuszynski, PhD. o / \ Science Applications International Corporation <\__,| (703) 676-4192 "> \ Jaroslaw.W.Tuszynski@saic.com ` \

wt <- 0

for(q in 1:count){

wt <- wt + 0.5^(q-1)

}

[[alternative HTML version deleted]]

R-help@stat.math.ethz.ch mailing list

https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide!

http://www.R-project.org/posting-guide.html

R-help@stat.math.ethz.ch mailing list

https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Oct 08 05:20:18 2005

*
This archive was generated by hypermail 2.1.8
: Sun 23 Oct 2005 - 18:29:15 EST
*