search for: kexp

Displaying 3 results from an estimated 3 matches for "kexp".

Did you mean: keep
2005 Aug 03
4
R CMD build error
Dear list, I try to update the prabclus package. R CMD check works nicely, no warnings, good results in all tests. However, building the package fails: ginkgo:/disk5/home/chrish/RAusw/libsrc R CMD build prabclus * checking for file 'prabclus/DESCRIPTION' ... OK * preparing 'prabclus': * checking whether 'INDEX' is up-to-date ... OK * removing junk files * building
2011 Dec 23
2
missing value where TRUE/FALSE needed
...quot;Sepal.Width" "Petal.Length" "Petal.Width" n.cols <- ncol(data) n.rows <- nrow(data) X <- as.matrix(data) stepsize <- 0.05 c1 <- (2 * pi) ** (n.cols / 2) c2 <- n.rows * (smoothing ** (n.cols + 2)) c3 <- n.rows * (smoothing ** n.cols) Kexp <- function(sqs){ return (exp((-1 * sqs) / (2 * smoothing ** 2))) } FindGradient <- function(x){ XmY <- t(x - t(X)) sqsum <- rowSums(XmY * XmY) K <- sapply(sqsum, Kexp) dens <- ((c1 * c3) ** -1) * sum(K) grad <- -1 * ((c1 * c2) ** -1) * colSums(K *...
2018 Dec 10
2
[PATCH] cleanup of global variables server/client_version_string in sshconnect.c
In sshconnect.c there are two global variables for server_version_string client_version_string. These are used just in a few functions and can easily be passed as parameters. Also, there is a strange construct, where their memory is allocated to the global pointers, then copies of these pointers are assigned to the kex structure. The kex_free finally frees them via cleanup of the kex