Category: Java or Overall
Inspiration
I was learning quantum computing with Microsoft Azure. There they work with a language called q#, something that has a data type for Complex Numbers. Out of just curiosity, I decided to create a similar concept in java.
What it does
This class lets the user create complex numbers and do various kinds of calculations with them.
How we built it
The main class has a constructor and methods for working with complex numbers of form a+bi and a nested class has a constructor and methods for complex numbers of form e^i*theta.
What's next for ComplexNum.java
Right now it does not have much functionality that lets it work with other data types. It is currently a work in progress and I want objects of type ComplexNum to be able to do interact or do calculations with other data types like double and int
Log in or sign up for Devpost to join the conversation.