Changeset 1404 for trunk/psLib/src/fft/psVectorFFT.c
- Timestamp:
- Aug 6, 2004, 11:50:14 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/fft/psVectorFFT.c (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/fft/psVectorFFT.c
r1385 r1404 5 5 * @author Robert DeSonia, MHPCC 6 6 * 7 * @version $Revision: 1.1 6$ $Name: not supported by cvs2svn $8 * @date $Date: 2004-08-0 4 23:37:39$7 * @version $Revision: 1.17 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2004-08-06 21:50:13 $ 9 9 * 10 10 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 484 484 numElements = in->n; 485 485 486 out = psVectorRecycle( out, PS_TYPE_C32, numElements);486 out = psVectorRecycle( out, numElements, PS_TYPE_C32 ); 487 487 out->n = numElements; 488 488 … … 542 542 psLogMsg( __func__, PS_LOG_WARN, "Real portion of a non-Complex type called called for. " 543 543 "Just a vector copy was performed." ); 544 out = psVectorRecycle( out, type, numElements);544 out = psVectorRecycle( out, numElements, type ); 545 545 out->n = numElements; 546 546 memcpy( out->data.V, in->data.V, numElements * PSELEMTYPE_SIZEOF( type ) ); … … 552 552 psC32* inVec = in->data.C32; 553 553 554 out = psVectorRecycle( out, PS_TYPE_F32, numElements);554 out = psVectorRecycle( out, numElements, PS_TYPE_F32 ); 555 555 out->n = numElements; 556 556 outVec = out->data.F32; … … 588 588 psLogMsg( __func__, PS_LOG_WARN, "Imaginary portion of a non-Complex type called for. " 589 589 "A zeroed vector was returned." ); 590 out = psVectorRecycle( out, type, numElements);590 out = psVectorRecycle( out, numElements, type ); 591 591 out->n = numElements; 592 592 memset( out->data.V, 0, PSELEMTYPE_SIZEOF( type ) * numElements ); … … 598 598 psC32* inVec = in->data.C32; 599 599 600 out = psVectorRecycle( out, PS_TYPE_F32, numElements);600 out = psVectorRecycle( out, numElements, PS_TYPE_F32 ); 601 601 out->n = numElements; 602 602 outVec = out->data.F32; … … 650 650 psF32* imagVec = imag->data.F32; 651 651 652 out = psVectorRecycle( out, PS_TYPE_C32, numElements);652 out = psVectorRecycle( out, numElements, PS_TYPE_C32 ); 653 653 out->n = numElements; 654 654 outVec = out->data.C32; … … 687 687 "Vector copy was performed instead." ); 688 688 689 out = psVectorRecycle( out, type, numElements);689 out = psVectorRecycle( out, numElements, type ); 690 690 out->n = numElements; 691 691 memcpy( out->data.V, in->data.V, PSELEMTYPE_SIZEOF( type ) * numElements ); … … 697 697 psC32* inVec = in->data.C32; 698 698 699 out = psVectorRecycle( out, PS_TYPE_C32, numElements);699 out = psVectorRecycle( out, numElements, PS_TYPE_C32 ); 700 700 out->n = numElements; 701 701 outVec = out->data.C32; … … 746 746 psF32 inAbs2; 747 747 748 out = psVectorRecycle( out, PS_TYPE_F32, outNumElements);748 out = psVectorRecycle( out, outNumElements, PS_TYPE_F32 ); 749 749 out->n = outNumElements; 750 750 outVec = out->data.F32;
Note:
See TracChangeset
for help on using the changeset viewer.
