Conj

block Conj "Output is equal to the conjugate complex input signal"
    extends Modelica.ComplexBlocks.Interfaces.ComplexSISO(final useConjugateInput = true);
equation
    y = uInternal;

    annotation (
        Documentation(info = "<html>\n<p>\nThis block computes output <code>y</code> as\n<em>conjugate complex</em> input <code>u</code>.\n</p>\n<pre>\n    y = Modelica.ComplexMath.conj(u)\n</pre>\n</html>"),
        Icon(
            coordinateSystem(
                preserveAspectRatio = true,
                extent = {
                    {-100, -100}, 
                    {100, 100}}),
            graphics = {
                Line(
                    points = {
                        {-40, 0}, 
                        {40, 0}},
                    color = {0, 0, 255}), 
                Line(
                    points = {
                        {-40, 0}, 
                        {40, 0}},
                    color = {0, 0, 255},
                    rotation = 60), 
                Line(
                    points = {
                        {-40, 0}, 
                        {40, 0}},
                    color = {0, 0, 255},
                    rotation = 120)}));
end Conj;