R/is.included.R

Defines functions is.included

Documented in is.included

is.included <-
function(B, A, tol1=sqrt(.Machine$double.eps), tol2=sqrt(.Machine$double.eps)) {
  return(frob(B-A%*%ginv(A, tol=tol1)%*%B) / frob(B) < tol2)
}

Try the lmreg package in your browser

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

lmreg documentation built on May 2, 2019, 9:29 a.m.