Interface Complex.ComplexConstructor
- Enclosing class:
Complex
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Define a constructor for a Complex.
This is used in functions that implement trigonomic identities.
-
Method Summary
-
Method Details
-
create
Create a complex number given the real and imaginary parts.- Parameters:
real
- Real part.imaginary
- Imaginary part.- Returns:
Complex
object.
-