K = sum_i f_i(theta_i) * matrices_i f_i depends on the parameter transformation type
general(
theta_K,
trans,
matrices,
h,
interact = NULL,
theta_K2 = NULL,
trans2 = NULL,
matrices2 = NULL,
h2 = NULL,
zero_trace = FALSE,
mesh = NULL,
...
)
the parameter vector
the matrices
the h vector
the interaction type, "multiply" or "kronecker"
the second parameter vector
the second parameter transformation type
the second matrices
the second h vector
whether the trace of K is zero
the mesh
ignore
the type of parameter transformation