Re: [Rd] Problem with shared library and lapack under windows

2015-06-04 Thread Prof Brian Ripley
On 03/06/2015 08:48, bstr wrote: Hi all, I have a C function, say Cfun, that calls Lapack's DGEMM routine and I need to create a shared library to use Cfun inside R. The C file is the following #include #include #include void Cfun(double *res, double *X, int *n, int *q) { char *ptr_TR

Re: [Rd] Problem with shared library and lapack under windows

2015-06-03 Thread Berend Hasselman
> On 03-06-2015, at 09:48, bstr wrote: > > Hi all, > > I have a C function, say Cfun, that calls Lapack's DGEMM routine and I need > to create a shared library to use Cfun inside R. The C file is the following > > #include > #include > #include > > > void Cfun(double *res, double *X, int *n,

[Rd] Problem with shared library and lapack under windows

2015-06-03 Thread bstr
Hi all, I have a C function, say Cfun, that calls Lapack's DGEMM routine and I need to create a shared library to use Cfun inside R. The C file is the following #include #include #include void Cfun(double *res, double *X, int *n, int *q) { char *ptr_TRANSA, TRANSA='T', *ptr_TRANSB, TRAN