nd4j-buffer/src/main/java/org/nd4j/linalg/api/complex/BaseComplexDouble.java
@Override
    public IComplexNumber muli(IComplexNumber c, IComplexNumber result) {
        double newR = real * c.realComponent().doubleValue() - imag * c.imaginaryComponent().doubleValue();
        double newI = real * c.imaginaryComponent().doubleValue() + imag * c.realComponent().doubleValue();
        result.set(newR, newI);
        return result;
    }
@Override
    public IComplexNumber muli(IComplexNumber c, IComplexNumber result) {
        double newR = real * c.realComponent().doubleValue() - imag * c.imaginaryComponent().doubleValue();
        double newI = real * c.imaginaryComponent().doubleValue() + imag * c.realComponent().doubleValue();
        result.set(newR, newI);
        return result;
    }
@ Override public IComplexNumber muli ( IComplexNumber c , IComplexNumber result ) { double newR = real * c . realComponent ( ) . doubleValue ( ) - imag * c . imaginaryComponent ( ) . doubleValue ( ) ; double newI = real * c . imaginaryComponent ( ) . doubleValue ( ) + imag * c . realComponent ( ) . doubleValue ( ) ; result . set ( newR , newI ) ; return result ; }
Multiply two complex numbers, inplace

@param c
@param result
Multiply two complex numbers inplace