/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/jacobians/ |
H A D | ODEWithJacobians.java | 18 package org.apache.commons.math.ode.jacobians;
|
H A D | ParameterizedODE.java | 18 package org.apache.commons.math.ode.jacobians;
|
H A D | StepHandlerWithJacobians.java | 18 package org.apache.commons.math.ode.jacobians; 40 * see the original state, and its jacobians in separate arrays.</p> 50 * <p>Dealing with low level step handlers is cumbersome if one really needs the jacobians 52 * state and jacobians on one side and compound state on the other side. So for performance 53 * reasons, it is recommended to use this interface <em>only</em> if jacobians are really
|
H A D | EventHandlerWithJacobians.java | 18 package org.apache.commons.math.ode.jacobians; 53 * see the original state, and its jacobians in separate arrays.</p> 63 * <p>Dealing with low level event handlers is cumbersome if one really needs the jacobians 65 * state and jacobians on one side and compound state on the other side. So for performance 66 * reasons, it is recommended to use this interface <em>only</em> if jacobians are really 138 * org.apache.commons.math.ode.jacobians.ODEWithJacobians 146 * org.apache.commons.math.ode.jacobians.StepHandlerWithJacobians#handleStep( 161 * org.apache.commons.math.ode.jacobians.StepHandlerWithJacobians 163 * org.apache.commons.math.ode.jacobians.StepHandlerWithJacobians#handleStep(
|
H A D | StepInterpolatorWithJacobians.java | 18 package org.apache.commons.math.ode.jacobians;
|
H A D | FirstOrderIntegratorWithJacobians.java | 18 package org.apache.commons.math.ode.jacobians; 43 * is extended with jacobians of the raw ODE and the variational equations are 69 /** Build an enhanced integrator using internal differentiation to compute jacobians. 95 * @param ode original problem, which can compute the jacobians by itself 262 /** Dispatch a compound state array into state and jacobians arrays. 359 /** Wrapper class used to map state and jacobians into compound state. */ 406 // compute raw ODE and its jacobians: dy/dt, d[dy/dt]/dy0 and d[dy/dt]/dp 452 /** Wrapper class to compute jacobians by finite differences for ODE which do not compute them themselves. */ 455 /** Raw ODE without jacobians computation. */ 467 /** Temporary array for state derivatives used to compute jacobians [all...] |
/external/ceres-solver/internal/ceres/ |
H A D | block_evaluate_preparer.cc | 53 double** jacobians) { 59 jacobians); 70 jacobians[j] = jacobian_values + *jacobian_block_offset; 77 jacobians[j] = NULL; 50 Prepare(const ResidualBlock* residual_block, int residual_block_index, SparseMatrix* jacobian, double** jacobians) argument
|
H A D | normal_prior_test.cc | 81 // Compare the jacobians 107 double* jacobians[1]; local 108 jacobians[0] = NULL; 113 prior.Evaluate(&x, residuals.data(), jacobians);
|
H A D | numeric_diff_test_utils.cc | 66 double *jacobians[2] = { &dydx1[0], &dydx2[0] }; local 72 &jacobians[0])); 136 double *jacobians[2] = { &dydx1[0], &dydx2[0] }; local 142 &jacobians[0]));
|
H A D | residual_block_utils.cc | 50 double** jacobians) { 56 if (jacobians != NULL) { 59 InvalidateArray(num_residuals * parameter_block_size, jacobians[i]); 68 double** jacobians) { 102 (jacobians != NULL && jacobians[i] != NULL) 103 ? jacobians[i] + k * parameter_block_size + j 119 double** jacobians) { 127 if (jacobians != NULL) { 130 if (!IsArrayValid(num_residuals * parameter_block_size, jacobians[ 47 InvalidateEvaluation(const ResidualBlock& block, double* cost, double* residuals, double** jacobians) argument 64 EvaluationToString(const ResidualBlock& block, double const* const* parameters, double* cost, double* residuals, double** jacobians) argument 115 IsEvaluationValid(const ResidualBlock& block, double const* const* parameters, double* cost, double* residuals, double** jacobians) argument [all...] |
H A D | scratch_evaluate_preparer.cc | 61 double** jacobians) { 69 jacobians[j] = NULL; 71 jacobians[j] = jacobian_block_cursor; 58 Prepare(const ResidualBlock* residual_block, int , SparseMatrix* , double** jacobians) argument
|
H A D | dynamic_compressed_row_jacobian_writer.cc | 65 double **jacobians, 94 const double& v = jacobians[parameter_block_jacobian_index][ 63 Write(int residual_id, int residual_offset, double **jacobians, SparseMatrix* base_jacobian) argument
|
H A D | autodiff_cost_function_test.cc | 69 double** jacobians = new double*[2]; local 70 jacobians[0] = new double[2]; 71 jacobians[1] = new double[2]; 77 cost_function->Evaluate(parameters, &residuals, jacobians); 79 EXPECT_EQ(3, jacobians[0][0]); 80 EXPECT_EQ(4, jacobians[0][1]); 81 EXPECT_EQ(1, jacobians[1][0]); 82 EXPECT_EQ(2, jacobians[1][1]); 84 delete[] jacobians[0]; 85 delete[] jacobians[ 118 double** jacobians = new double*[10]; local [all...] |
H A D | c_api_test.cc | 114 double** jacobians) { 122 if (jacobians == NULL) { 125 if (jacobians[0] != NULL) { 126 jacobians[0][0] = - x * exp(m * x + c); // dr/dm 128 if (jacobians[1] != NULL) { 129 jacobians[1][0] = - exp(m * x + c); // dr/dc 111 exponential_residual(void* user_data, double** parameters, double* residuals, double** jacobians) argument
|
H A D | dense_jacobian_writer.h | 57 // functions, use scratch space to store the jacobians temporarily then copy 71 double **jacobians, 82 // Now copy the jacobians for each parameter into the dense jacobian matrix. 92 ConstMatrixRef parameter_jacobian(jacobians[j], 69 Write(int residual_id, int residual_offset, double **jacobians, SparseMatrix* jacobian) argument
|
H A D | residual_block.cc | 70 double** jacobians, 84 if (jacobians != NULL) { 87 if (jacobians[i] != NULL && 92 global_jacobians[i] = jacobians[i]; 106 double** eval_jacobians = (jacobians != NULL) ? global_jacobians.get() : NULL; 123 "residual and jacobians that were requested or there was a non-finite value (nan/infinite)\n" // NOLINT 136 // Update the jacobians with the local parameterizations. 137 if (jacobians != NULL) { 139 if (jacobians[i] != NULL) { 142 // Apply local reparameterization to the jacobians 67 Evaluate(const bool apply_loss_function, double* cost, double* residuals, double** jacobians, double* scratch) const argument [all...] |
H A D | residual_block_utils_test.cc | 63 double* jacobians[] = { &jacobian }; local 68 jacobians, 73 // valid residuals and jacobians. 78 double** jacobians) const { 80 if (jacobians != NULL && jacobians[0] != NULL) { 81 jacobians[0][0] = 0.0; 93 double** jacobians) const { 96 if (jacobians != NULL && jacobians[ [all...] |
H A D | compressed_row_jacobian_writer.cc | 180 double **jacobians, 210 jacobians[argument] + r * parameter_block_size; 178 Write(int residual_id, int residual_offset, double **jacobians, SparseMatrix* base_jacobian) argument
|
H A D | autodiff_test.cc | 196 double *jacobians[] = { J_PX }; local 198 b, parameters, 2, ad_x1, jacobians))); 211 double *jacobians[] = { J_P, J_X }; local 213 b, parameters, 2, ad_x2, jacobians))); 219 // Now compare the jacobians we got. 318 double *jacobians[] = { J_q, J_c, J_X }; local 320 b, parameters, 2, ad_x, jacobians))); 358 double *jacobians[] = { J_x }; local 370 functor, parameters, num_residuals, residuals, jacobians))); 520 double* jacobians[1 local [all...] |
/external/ceres-solver/examples/ |
H A D | curve_fitting.c | 129 double** jacobians) { 137 if (jacobians == NULL) { 140 if (jacobians[0] != NULL) { 141 jacobians[0][0] = - x * exp(m * x + c); /* dr/dm */ 143 if (jacobians[1] != NULL) { 144 jacobians[1][0] = - exp(m * x + c); /* dr/dc */ 126 exponential_residual(void* user_data, double** parameters, double* residuals, double** jacobians) argument
|
/external/ceres-solver/include/ceres/internal/ |
H A D | autodiff.h | 213 T **jacobians) { 291 if (jacobians[i]) { \ 296 jacobians[i]); \ 209 Differentiate(const Functor& functor, T const *const *parameters, int num_outputs, T *function_value, T **jacobians) argument
|