Пример #1
0
 @Override
 public O compute(I z, O output) {
   output.setComplexNumber(constant.getRealDouble(), constant.getImaginaryDouble());
   return output;
 }
Пример #2
0
 @Override
 public RealType<?> compute(ComplexType<?> input, RealType<?> output) {
   output.setReal(input.getRealDouble());
   return output;
 }