Accelerate/vDSP.h question
Accelerate/vDSP.h question
- Subject: Accelerate/vDSP.h question
- From: dct <email@hidden>
- Date: Mon, 27 Feb 2012 17:00:58 -0800
Have the vDSP functions vDSP_vabs and vDSP_vabsD recently changed? They seem to be no longer working other than to simply return an unchanged version of an input.
Here is a simple, Cocoa test routine I used to prove the point:
unsigned int ii;
double aa[10], bb[10];
for( ii=0; ii<10; ii++ ) { aa[ii]=1.1, bb[ii]=0; }
aa[1]=aa[3]=aa[6]=-2.2;
vDSP_vabsD( aa, 1, bb, 1, 10 );
ii = 0;
with breakpoints set at the "aa[1] ..." and "ii=0" lines.
The aa array is as expected at the 1st breakpoint; unfortunately, at the 2nd breakpoint, the bb array matches aa rather than an absolute value version of aa.
Don Thompson
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden