Displaying 2 results from an estimated 2 matches for "powermethod".
Did you mean:
power_method
2008 Jun 21
1
converting an R function into VBA
Hi everyone,
I want to convert an R function into VBA for calculating the eigenvectors and eigenvalues of a matrix using the "Power Method". The function is:
PowerMethod <- function(x, tolerance) {
my.mat <- var(x[,-1], na.method="available")
matSize <- dim(my.mat)[1]
eigenVec <- matrix(NA, nrow=matSize, ncol=matSize)
eigenVal <- rep(NA, matSize)
for(j in 1:matSize) {
x <- rep(1, matSize)
yk <- x +...
2013 Mar 28
4
Custom fact or function ? looking for opinion
Hi,
I''m in the progress of writing custom facts to retrieve our network
configuration for the nodes from the openldap ENC.
Now, since the puppetmaster has also access to the ldap server, I''m
thinking to move the custom facts to a function, so it runs on the
puppetmaster only, end not on every node.
I just wanted to here some other opinions about this issue.
Thx
Johan