def compute_partials(self, inputs, partials): """ Calculate and save derivatives. (i.e., Jacobian) """ self.J1, self.J2 = computepositionrotdjacobian(self.n, inputs['r_b2g_B'], inputs['O_AB'])
def jacobian(self, params, unknowns, resids): """ Calculate and save derivatives. (i.e., Jacobian) """ r_e2b_I = params['r_e2b_I'] O_BI = params['O_BI'] self.J1, self.J2 = computepositionrotdjacobian(self.n, r_e2b_I[3:, :], O_BI)
def compute_partials(self, inputs, partials): """ Calculate and save derivatives. (i.e., Jacobian) """ r_e2b_I = inputs['r_e2b_I'] O_BI = inputs['O_BI'] self.J1, self.J2 = computepositionrotdjacobian(self.n, r_e2b_I[3:, :], O_BI)
def jacobian(self, params, unknowns, resids): """ Calculate and save derivatives. (i.e., Jacobian) """ self.J1, self.J2 = computepositionrotdjacobian(self.n, params['r_b2g_B'], params['O_AB'])
def linearize(self): """ Calculate and save derivatives. (i.e., Jacobian) """ self.J1, self.J2 = computepositionrotdjacobian(self.n, self.r_b2g_B, self.O_AB)
def provideJ(self): """ Calculate and save derivatives. (i.e., Jacobian) """ self.J1, self.J2 = computepositionrotdjacobian(self.n, self.r_e2b_I[3:, :], self.O_BI)
def provideJ(self): """ Calculate and save derivatives (i.e., Jacobian). """ self.J1, self.J2 = computepositionrotdjacobian(self.n, self.r_b2g_B, self.O_AB)
def linearize(self, params, unknowns, resids): """ Calculate and save derivatives. (i.e., Jacobian) """ self.J1, self.J2 = computepositionrotdjacobian(self.n, params['r_e2s_I'], params['O_BI'])