Changeset 153 for trunk/archive/pslib/include/psComplexArrays.h
- Timestamp:
- Mar 9, 2004, 12:28:16 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/archive/pslib/include/psComplexArrays.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/pslib/include/psComplexArrays.h
r149 r153 6 6 /* Complex number arrays */ 7 7 8 /* Multiplication of two complex number arrays */ 9 /* Purposely leave these NOT restrict-ed, so that the multiplication may be done in-place */ 8 /** Multiplication of two complex number arrays. Purposely leave these NOT restrict-ed, so that the 9 * multiplication may be done in-place 10 */ 10 11 psComplexArray * 11 psComplexMultiply(psComplexArray *out, // Output array to be returned; may be NULL12 const psComplexArray *complex1, // Input complex array 113 const psComplexArray *complex2 // Input complex array 212 psComplexMultiply(psComplexArray *out, //!< Output array to be returned; may be NULL 13 const psComplexArray *complex1, //!< Input complex array 1 14 const psComplexArray *complex2 //!< Input complex array 2 14 15 ); 15 16 16 /* Division of two complex number arrays */ 17 /* Purposely leave these NOT restrict-ed, so that the division may be done in-place */ 17 /** Division of two complex number arrays. Purposely leave these NOT restrict-ed, so that the division 18 * may be done in-place 19 */ 18 20 psComplexArray * 19 psComplexDivide(psComplexArray *out, // Output array to be returned; may be NULL20 const psComplexArray *complex1, // Input complex array 121 const psComplexArray *complex2 // Input complex array 221 psComplexDivide(psComplexArray *out, //!< Output array to be returned; may be NULL 22 const psComplexArray *complex1, //!< Input complex array 1 23 const psComplexArray *complex2 //!< Input complex array 2 22 24 ); 23 25 24 /* Complex conjugates for a complex number array */ 25 /* Purposely leave these NOT restrict-ed, so that the operation may be done in-place */ 26 /** Complex conjugates for a complex number array. Purposely leave these NOT restrict-ed, so that the 27 * operation may be done in-place 28 */ 26 29 psComplexArray * 27 psComplexConjugate(psComplexArray *out, // Output array to be returned; may be NULL28 const psComplexArray *myComplexNumbers // Input complex number array30 psComplexConjugate(psComplexArray *out, //!< Output array to be returned; may be NULL 31 const psComplexArray *myComplexNumbers //!< Input complex number array 29 32 ); 30 33 31 /* Moduli for a complex number array */34 /** Moduli for a complex number array */ 32 35 psFloatArray * 33 psComplexModulus(const psComplex *restrict myComplexNumbers // Input complex number array36 psComplexModulus(const psComplex *restrict myComplexNumbers //!< Input complex number array 34 37 ); 35 38
Note:
See TracChangeset
for help on using the changeset viewer.
