Hello. > [...] > > > > > We could split complex unary operators into two primitive functions ( > > ToDoubleFunction<Complex>) one returning the real part of result and other > > for imaginary part > > > > interface ComplexFunction { > > ToDoubleFunction<Complex> getReal() ; > > ToDoubleFunction<Complex> getImaginary() ; > > } > > > > > This has concerns for efficiency.
First thought that came to my mind, being confirmed when looking at the "conj" example (where "applyAsDouble" is called twice)... Gilles > [...] --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org