R/inverseLinpack.R

Defines functions inverseLinpack

inverseLinpack <-
function(x=diag(3)) {
if(nrow(x) != ncol(x))
stop("wrong dimensions!")
obj <- .C("linpack_inv_det", res=as.double(x),
as.integer(nrow(x)), det=as.double(0), PACKAGE="logistf")
list(inverse=matrix(obj$res, nrow(x)), det=obj$det)
}

Try the logistf package in your browser

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

logistf documentation built on Aug. 18, 2023, 5:06 p.m.