This function computes each element of the vector function DD_weight_1 which is the first derivative of the Ds-optimality criterion with respect to the model parameters.
d11(T, x, xl, inv, inv1, order)
A numeric vector. Model parameter values
A numeric. ith dose level for a given design
A numeric. last dose level for a given design
A numeric matrix. Inverse of the information matrix for the 5PL model
A numeric matrix. Inverse of the information matrix for the 4PL model
numeric. The number of model paraemters