I am new running code in C++ linux environment; so, please accept my apologies in advance if I am asking very trivial question. The only reason that I switched to linux is to run the library linked below. I would consider my C++ coding skills at intermediate level.
I downloaded the code at this location (http://www.jasoncantarella.com/wordpress/software/tsnnls/). Also, needed were Lapack, Blas, Argtable2 which I downloaded before.
Now, I can run the script after changing to relevant directory:
>> cd /home/dkumar/libtsnnls-2.3.3/tsnnls/
>> ./tsnnls_test -A A_01.sparse -b b_01.mat -x x_01.mat --tsnnls
However, when I looked at your code "tsnnls_test.c", the function is defined as:
static void tsnnls_test(taucs_ccs_matrix *A,taucs_double *realx,taucs_double *b)
This function call and script call are very different. I would like to change the argument list of tsnnls_test function to make it useful for my work. I am not getting successful in just making an executable out of "tsnnls_test.c" and I do not know how script works.
My question: Since the author is not available to answer this question, I would like to ask experts here: How does this code → script thing works using GNU libtool? How should I try to change it?
Possibly, some guidance on using libtool to load a duplicate function name from a shared library would be helpful.
My intention is to get a fast solver for sparse nonnegative least square solver. If anyone has any suggestion on that, please do share with me.