Author: bugman
Date: Tue Aug 26 18:29:25 2014
New Revision: 25306
URL: http://svn.gna.org/viewcvs/relax?rev=25306&view=rev
Log:
Better commenting in the C header files.
Modified:
trunk/target_functions/c_chi2.h
trunk/target_functions/exponential.h
trunk/target_functions/relax_fit.h
Modified: trunk/target_functions/c_chi2.h
URL:
http://svn.gna.org/viewcvs/relax/trunk/target_functions/c_chi2.h?rev=25306&r1=25305&r2=25306&view=diff
==============================================================================
--- trunk/target_functions/c_chi2.h (original)
+++ trunk/target_functions/c_chi2.h Tue Aug 26 18:29:25 2014
@@ -19,11 +19,13 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+/* Get the maximum dimensions. */
#include "dimensions.h"
#ifndef RELAX_C_CHI2
#define RELAX_C_CHI2
+/* Define all of the functions. */
double chi2(double values[], double sd[], double back_calc[], int num_times);
void dchi2(double dchi2[], double data[], double back_calc_vals[], double
back_calc_grad[][MAX_DATA], double errors[], int num_times, int M);
void d2chi2(double d2chi2[MAX_PARAMS][MAX_PARAMS], double data[MAX_DATA],
double back_calc_vals[MAX_DATA], double back_calc_grad[MAX_PARAMS][MAX_DATA],
double back_calc_hess[MAX_PARAMS][MAX_PARAMS][MAX_DATA], double
errors[MAX_DATA], int num_times, int M);
Modified: trunk/target_functions/exponential.h
URL:
http://svn.gna.org/viewcvs/relax/trunk/target_functions/exponential.h?rev=25306&r1=25305&r2=25306&view=diff
==============================================================================
--- trunk/target_functions/exponential.h (original)
+++ trunk/target_functions/exponential.h Tue Aug 26 18:29:25 2014
@@ -19,11 +19,13 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+/* Get the maximum dimensions. */
#include "dimensions.h"
#ifndef RELAX_EXPONENTIAL
#define RELAX_EXPONENTIAL
+/* Define all of the functions. */
void exponential(double I0, double R, double relax_times[MAX_DATA], double
back_calc[MAX_DATA], int num_times);
void exponential_dI0(double I0, double R, int param_index, double
relax_times[MAX_DATA], double back_calc_grad[MAX_PARAMS][MAX_DATA], int
num_times);
void exponential_dR(double I0, double R, int param_index, double
relax_times[MAX_DATA], double back_calc_grad[MAX_PARAMS][MAX_DATA], int
num_times);
Modified: trunk/target_functions/relax_fit.h
URL:
http://svn.gna.org/viewcvs/relax/trunk/target_functions/relax_fit.h?rev=25306&r1=25305&r2=25306&view=diff
==============================================================================
--- trunk/target_functions/relax_fit.h (original)
+++ trunk/target_functions/relax_fit.h Tue Aug 26 18:29:25 2014
@@ -18,6 +18,7 @@
*/
+/* Get the maximum dimensions. */
#include "dimensions.h"
/* Python 2.2 and earlier support for Python C modules */
_______________________________________________
relax (http://www.nmr-relax.com)
This is the relax-commits mailing list
[email protected]
To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits