Computes the gradient of a linear combination of beta
given the Jacobian matrix and
variance parameters.
h_gradient(jac_list, contrast)
Numeric vector which contains the quadratic forms of each element of
jac_list
with the contrast
vector.
(list
)
Jacobian list produced e.g. by h_jac_list()
.
(numeric
)
contrast vector, which needs to have the
same number of elements as there are rows and columns in each element of
jac_list
.