<commit_before>#ifndef __NUMERIC_H__
#define __NUMERIC_H__

#include <cmath>

#define MIN(a,b)    (((a) < (b)) ? (a) : (b))
#define MAX(a,b)    (((a) > (b)) ? (a) : (b))
#define SQR(x)      ((x)*(x))

namespace cigma
{
    void prodve(double a[3], double b[3], double c[3]);
    void matvec(double mat[3][3], double vec[3], double res[3]);

    double det3x3(double mat[3][3]);
    double inv3x3(double mat[3][3], double inv[3][3]);

    int sys3x3(double mat[3][3], double b[3], double res[3], double *det);

    void minmax(double *points, int npts, int nsd, double *min, double *max);
    void centroid(double *points, int npts, int nsd, double c[3]);
}

#endif
<commit_msg>Added tentative note to Numeric.h<commit_after>#ifndef __NUMERIC_H__
#define __NUMERIC_H__

// XXX: rename to NumericUtils.h

#include <cmath>

#define MIN(a,b)    (((a) < (b)) ? (a) : (b))
#define MAX(a,b)    (((a) > (b)) ? (a) : (b))
#define SQR(x)      ((x)*(x))

namespace cigma
{
    void prodve(double a[3], double b[3], double c[3]);
    void matvec(double mat[3][3], double vec[3], double res[3]);

    double det3x3(double mat[3][3]);
    double inv3x3(double mat[3][3], double inv[3][3]);

    int sys3x3(double mat[3][3], double b[3], double res[3], double *det);

    void minmax(double *points, int npts, int nsd, double *min, double *max);
    void centroid(double *points, int npts, int nsd, double c[3]);
}

#endif

{'fraction_non_alphanumeric': 0.19673295454545456, 'fraction_numerical': 0.03409090909090909, 'mean_word_length': 4.1611721611721615, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7097837', 'n_tokens_mistral': 578, 'n_tokens_neox': 565, 'n_words': 158}