INTERNAL routine to apply initial Sl re-parameterization to model matrix X,
or, if inverse==TRUE
, to apply inverse re-parametrization to parameter vector
or covariance matrix.
Sl.initial.repara(Sl, X, inverse = FALSE, both.sides = TRUE, cov = TRUE,
nt = 1)
the output of Sl.setup
.
the model matrix.
if TRUE
an inverse re-parametrization is performed.
if inverse==TRUE
and both.sides==FALSE
then
the re-parametrization only applied to rhs, as appropriate for a choleski factor.
If both.sides==FALSE
, X
is a vector and inverse==FALSE
then X
is
taken as a coefficient vector (so re-parametrization is inverse of that for the model matrix).
boolean indicating whether X
is a covariance matrix.
number of parallel threads to be used.
A re-parametrized version of X
.