 Timestamp:
 01/27/12 19:41:10 (8 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/projects/slimcurve/src/main/c/loci_curvefitter_SLIMCurveFitter.c
r7781 r7872 24 24 * Class: loci_curvefitter_SLIMCurveFitter 25 25 * Method: RLD_fit 26 * Signature: (D[DII[DI [D[D[D[D[D[DD)I26 * Signature: (D[DII[DII[D[D[D[D[D[DD)I 27 27 */ 28 28 JNIEXPORT jint JNICALL Java_loci_curvefitter_SLIMCurveFitter_RLD_1fit 29 29 (JNIEnv *env, jobject obj, jdouble x_inc, jdoubleArray y, 30 30 jint fit_start, jint fit_end, jdoubleArray instr, jint n_instr, 31 jdoubleArray sig, jdoubleArray z, jdoubleArray a, jdoubleArray tau, 31 jint noise, jdoubleArray sig, 32 jdoubleArray z, jdoubleArray a, jdoubleArray tau, 32 33 jdoubleArray fitted, jdoubleArray chi_square, jdouble chi_square_target) { 33 34 … … 61 62 62 63 return_value = RLD_fit(x_inc, y_array, fit_start, fit_end, 63 instr_array, n_instr, sig_array, z_ref, a_ref, tau_ref,64 instr_array, n_instr, noise, sig_array, z_ref, a_ref, tau_ref, 64 65 fitted_array, chi_square_ref, chi_square_target); 65 66 … … 86 87 * Class: loci_curvefitter_SLIMCurveFitter 87 88 * Method: LMA_fit 88 * Signature: (D[DII[DI [D[D[II[D[DD)I89 * Signature: (D[DII[DII[D[D[II[D[DDD)I 89 90 */ 90 91 JNIEXPORT jint JNICALL Java_loci_curvefitter_SLIMCurveFitter_LMA_1fit 91 92 (JNIEnv *env, jobject obj, jdouble x_inc, jdoubleArray y, 92 93 jint fit_start, jint fit_end, jdoubleArray instr, jint n_instr, 93 jdoubleArray sig, jdoubleArray param, jintArray param_free, jint n_param, 94 jdoubleArray fitted, jdoubleArray chi_square, jdouble chi_square_target) { 94 jint noise, jdoubleArray sig, 95 jdoubleArray param, jintArray param_free, jint n_param, 96 jdoubleArray fitted, jdoubleArray chi_square, 97 jdouble chi_square_target, jdouble chi_square_delta) { 95 98 96 99 jdouble *y_array; … … 121 124 122 125 return_value = LMA_fit(x_inc, y_array, fit_start, fit_end, 123 instr_array, n_instr, sig_array, param_array, param_free_array, n_param, 124 fitted_array, chi_square_ref, chi_square_target); 126 instr_array, n_instr, noise, sig_array, 127 param_array, param_free_array, n_param, 128 fitted_array, chi_square_ref, chi_square_target, chi_square_delta); 125 129 126 130 // pass back the arrays
Note: See TracChangeset
for help on using the changeset viewer.