示例#1
0
 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'])
示例#2
0
    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)
示例#3
0
    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)
示例#4
0
    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)
示例#5
0
    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)
示例#6
0
文件: comm.py 项目: naylor-b/CADRE
    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'])
示例#7
0
文件: comm.py 项目: JustinSGray/CADRE
    def linearize(self):
        """ Calculate and save derivatives. (i.e., Jacobian) """

        self.J1, self.J2 = computepositionrotdjacobian(self.n, self.r_b2g_B,
                                                       self.O_AB)
示例#8
0
 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'])
示例#9
0
    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)
示例#10
0
    def provideJ(self):
        """ Calculate and save derivatives (i.e., Jacobian). """

        self.J1, self.J2 = computepositionrotdjacobian(self.n, self.r_b2g_B,
                                                       self.O_AB)
示例#11
0
    def provideJ(self):
        """ Calculate and save derivatives (i.e., Jacobian). """

        self.J1, self.J2 = computepositionrotdjacobian(self.n, self.r_b2g_B,
                                                       self.O_AB)
示例#12
0
    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'])
示例#13
0
文件: sun.py 项目: thearn/CADRE
    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'])
示例#14
0
    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)