Displaying 7 results from an estimated 7 matches for "700x700".
2009 May 29
5
maxtrix to permutation vector
Hi,
Is there a way to convert a matrix into a vector representing all
permutations of values and column/row headings with native R functions?
I did this with 2 nested for loops and it took about 25 minutes to run
on a ~700x700 matrix. I'm assuming there must be a smarter way to do
this with R's vector commands, but being new to R, I'm having trouble
making it work.
Thanks,
Ian
[a] [b] [c]
[d] 1 4 7
[e] 2 5 8
[f] 3 6 9
a d 1
a e 2
a f 3
b d 4
b e 5
b f 6...
2002 Oct 09
0
R 1.6.0 benchmark with and without optimized ATLAS
...x1200 matrix (sec):
0.973333333333333
1250x1250 normal distributed random matrix ^1000____ (sec):
2.25333333333333
Sorting of 1,100,000 random values__________________ (sec):
0.463333333333335
550x550 cross-product matrix (b = a' * a)___________ (sec):
0.463333333333331
Linear regression over a 700x700 matrix (c = a \ b') (sec): 1.75
--------------------------------------------
Trimmed geom. mean (2 extremes eliminated):
0.924125732935107
II. Matrix functions
--------------------
FFT over 900,000 random values______________________ (sec):
1.53666...
2009 May 29
1
matrix to vector
Hi,
Is there a way to convert a matrix into a vector representing all
permutations of values and column/row headings with native R functions?
I did this with 2 nested for loops and it took about 25 minutes to run
on a ~700x700 matrix. I'm assuming there must be a smarter way to do
this with R's vector commands, but being new to R, I'm having trouble
making it work.
Thanks,
Ian
[a] [b] [c]
[d] 1 4 7
[e] 2 5 8
[f] 3 6 9
a d 1
a e 2
a f 3
b d 4
b e 5
b f 6...
2003 Jul 26
0
R benchmark, moble Pentium III, 1.13 GHs
...ation
> ---------------------
>Creation, transp., deformation of a 1500x1500 matrix (sec):
>1.97333333333333
>800x800 normal distributed random matrix ^1000______ (sec):
>2.80999999999999
>Sorting of 2,000,000 random values__________________ (sec):
>1.20333333333333
>700x700 cross-product matrix (b = a' * a)___________ (sec):
>1.84000000000000
>Linear regression over a 600x600 matrix (c = a \ b') (sec):
>2.43666666666666
> --------------------------------------------
> Trimmed geom. mean (2 extremes elimin...
2001 Apr 27
2
Benchmarking R, why sort() is so slow?
...eing
Matlab 6.0 R12 (column C).
Serie I: Matrix calculation
1 = Creation, transposition, deformation of a 1200x1200 matrix, 2 =
1250x1250 normal distributed random matrix ^1000, 3 = Sorting of 1,100,000
random values, 4 = 550x550 cross-product matrix (b = a' * a), 5 = Linear
regression over a 700x700 matrix (b = a \ b')
Serie II: Preprogrammed matrix functions
6 = FFT over 900,000 random values, 7 = Eigenvalues of a 220x220 random
matrix, 8 = Determinant of a 750x750 random matrix, 9 = Cholesky
decomposition of a 1000x1000 matrix, 10 = Inverse of a 500x500 random matrix
Serie II: programm...
2001 Apr 27
2
Benchmarking R, why sort() is so slow?
...eing
Matlab 6.0 R12 (column C).
Serie I: Matrix calculation
1 = Creation, transposition, deformation of a 1200x1200 matrix, 2 =
1250x1250 normal distributed random matrix ^1000, 3 = Sorting of 1,100,000
random values, 4 = 550x550 cross-product matrix (b = a' * a), 5 = Linear
regression over a 700x700 matrix (b = a \ b')
Serie II: Preprogrammed matrix functions
6 = FFT over 900,000 random values, 7 = Eigenvalues of a 220x220 random
matrix, 8 = Determinant of a 750x750 random matrix, 9 = Cholesky
decomposition of a 1000x1000 matrix, 10 = Inverse of a 500x500 random matrix
Serie II: programm...
2001 Feb 16
1
Sub_scribe and a question
...eing
Matlab 6.0 R12 (column C).
Serie I: Matrix calculation
1 = Creation, transposition, deformation of a 1200x1200 matrix, 2 =
1250x1250 normal distributed random matrix ^1000, 3 = Sorting of 1,100,000
random values, 4 = 550x550 cross-product matrix (b = a' * a), 5 = Linear
regression over a 700x700 matrix (b = a \ b')
Serie II: Preprogrammed matrix functions
6 = FFT over 900,000 random values, 7 = Eigenvalues of a 220x220 random
matrix, 8 = Determinant of a 750x750 random matrix, 9 = Cholesky
decomposition of a 1000x1000 matrix, 10 = Inverse of a 500x500 random matrix
Serie II: programm...