Add Complex Conjugate block with tests
Refers #161 This PR basically is meant for the implementation of Complex Conjugate Block Under Math.
The Complex Conjugate block processes complex input signals, producing their conjugates by retaining the real part and inverting the sign of the imaginary part. For an input of the form x + yi, where x represents the real component and y the imaginary component, the output is x - yi. This operation is vital for complex signal manipulation in digital signal processing applications.
Changes Made:
-
Implemented and tested the Complex Conjugate block locally to ensure correct functionality.
-
Added comprehensive unit test cases in qa_Math.cpp to validate the block’s behavior for float and double inputs.
-
Verified successful execution of all tests with make && ./qa_Math, confirming no regressions in existing math block tests.
Test Case Example
@jsallay Made the changes, which u said to do so.
@Harishankar14 do you plan to continue working on this PR? If yes, you may need to rebase against the latest main commit.