<commit_before>// clang++ simple_lapack.cc -I../../ -I/opt/local/include/ -L /opt/local/lib -lgmpxx -lgmp

#include <iostream>
#include <gmpxx.h>
#include <flens/flens.cxx>

using namespace std;
using namespace flens;

// typedef mpf_class   T;

typedef mpq_class   T;

// typedef double   T;

#define TEST_CASE_2

int
main()
{
    typedef GeMatrix<FullStorage<T> >       GeMatrix;
    typedef GeMatrix::IndexType             IndexType;

    typedef DenseVector<Array<IndexType> >  IndexVector;

    const Underscore<IndexType> _;

    const IndexType m = 4,
                    n = 5;

    GeMatrix        Ab(m, n);
    IndexVector     iPiv(m);

#   ifdef TEST_CASE_1
    Ab =  3, -1,  0,  0,  4,
        -1,  3, -1,  0, -2,
         0, -1,  3, -1, -7,
         0,  0, -1,  3,  8;
#   endif

#   ifdef TEST_CASE_2
    Ab =  2,   3,  -1,   0,  20,
        -6,  -5,   0,   2, -33,
         2,  -5,   6,  -6, -43,
         4,   6,   2,  -3,  49;
#   endif<commit_msg>clean up<commit_after>// clang++ -std=c++0x simple_lapack.cc -I../../ -I/opt/local/include/ -L /opt/local/lib -lgmpxx -lgmp

#include <iostream>
#include <gmpxx.h>
#include <flens/flens.cxx>

using namespace std;
using namespace flens;

// typedef mpf_class   T;

typedef mpq_class   T;

// typedef double   T;

#define TEST_CASE_2

int
main()
{
    typedef GeMatrix<FullStorage<T> >       GeMatrix;
    typedef GeMatrix::IndexType             IndexType;

    typedef DenseVector<Array<IndexType> >  IndexVector;

    const Underscore<IndexType> _;

    const IndexType m = 4,
                    n = 5;

    GeMatrix        Ab(m, n);
    IndexVector     iPiv(m);

#   ifdef TEST_CASE_1
    Ab =  3,  -1,   0,   0,   4,
         -1,   3,  -1,   0,  -2,
          0,  -1,   3,  -1,  -7,
          0,   0,  -1,   3,   8;
#   endif

#   ifdef TEST_CASE_2
    Ab =  2,   3,  -1,   0,  20,
         -6,  -5,   0,   2, -33,
          2,  -5,   6,  -6, -43,
          4,   6,   2,  -3,  49;
#   endif
{'fraction_non_alphanumeric': 0.14504596527068436, 'fraction_numerical': 0.05056179775280899, 'mean_word_length': 1.6401617250673854, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3366936', 'n_tokens_mistral': 844, 'n_tokens_neox': 809, 'n_words': 209}