This function computes each element of the vector function c_weight_1 which is the first derivative of the c-optimality criterion with respect to the model parameters.
D1(T, x, xl, inv, p, order)
Arguments
T: A numeric vector. Model parameter values
x: A numeric. ith dose level for a given design
xl: A numeric. last dose level for a given design
inv: A numeric matrix. Inverse of the information matrix