projects
/
valse.git
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
ajout test
[valse.git]
/
src
/
test
/
generate_test_data
/
helpers
/
covariance.R
Commit
Line
Data
df3ef2db
BA
1
covariance = function(p,a)
2
{
3
A = matrix(a, p,p)
4
for (i in 1:p)
5
A[i,] = A[i,]^abs(i-(1:p))
6
7
return (A)
8
}