R/nrm2d.R

"nrm2d" <-
function(x,n=nrow(x),incx=1) {
if (missing(x)) messagena("x")
mdx <- length(x)
xnrm <- double(1)
f.res <- .Fortran("nrm2zd",
x=as.double(x),
n=to.integer(n),
incx=to.integer(incx),
mdx=to.integer(mdx),
xnrm=as.double(xnrm))
list(xnrm=f.res$xnrm)
}

Try the robeth package in your browser

Any scripts or data that you put into this service are public.

robeth documentation built on Aug. 22, 2023, 9:09 a.m.