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,
  ...
)

Arguments

theta_K

the parameter vector

matrices

the matrices

h

the h vector

interact

the interaction type, "multiply" or "kronecker"

theta_K2

the second parameter vector

trans2

the second parameter transformation type

matrices2

the second matrices

h2

the second h vector

zero_trace

whether the trace of K is zero

mesh

the mesh

...

ignore

trans_type

the type of parameter transformation