Re: Problems with CLAPACK SVD routines on OS X
- From: "Robert V." <robert.voyer@xxxxxxxxx>
- Date: Wed, 08 Aug 2007 18:55:06 -0000
Hi,
I appreciate your input, although your suggestions do not seem to make
any difference in this case.
Interestingly, I have been able to get my program to work on smaller
more symmetric matrices, but the results are different from those
given by Matlab's SVD routines. Perhaps the problem is with the OS X
Intel implementation of LAPACK or CLAPACK?
Thanks,
Robert
On Aug 7, 11:37 pm, "akakiyakakiev...@xxxxxxxxx"
<akakiyakakiev...@xxxxxxxxx> wrote:
Hello,
I'm not using LAPACK, but for delete arrays you must use:
delete [] s;
delete [] wk;
etc.
I don't think that the problem is this, but tell me if now works!
doublereal *s = new doublereal[M];
doublereal *wk = new doublereal[3*M*N];
doublereal *uu = new doublereal[M*N];
doublereal *vt = new doublereal[M*N];
delete IWORK;
delete s;
delete wk;
delete uu;
delete vt;
.
- References:
- Problems with CLAPACK SVD routines on OS X
- From: Robert V.
- Re: Problems with CLAPACK SVD routines on OS X
- From: akakiyakakievich@xxxxxxxxx
- Problems with CLAPACK SVD routines on OS X
- Prev by Date: Re: Problems with CLAPACK SVD routines on OS X
- Next by Date: Re: Problems with CLAPACK SVD routines on OS X
- Previous by thread: Re: Problems with CLAPACK SVD routines on OS X
- Next by thread: Re: Problems with CLAPACK SVD routines on OS X
- Index(es):
Relevant Pages
|