Javafastcomplex is a fast complex number package for Java. Most existing complex number packages implement only immutable complex numbers, which is easy to understand given that immutable objects lead to more understandable code. Mutable complex numbers would avoid garbage-collection penalty and therefore be faster in calculations. Javafastcomplex implements both mutable and immutable complex numbers, and has a common interface for both, allowing users to write functions that can take either a mutable or an immutable complex number as an argument. Mutable complex numbers can then be used in the most performance-critical parts of the code with immutable complex numbers being used elsewhere. Performance improvement of mutable complex numbers is 10x in the best-case scenario and about 2x in real life complex number code. The package is released under the liberal MIT license.

Project Activity

See All Activity >

Categories

Mathematics

License

MIT License

Follow Javafastcomplex

Javafastcomplex Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Javafastcomplex!

Additional Project Details

Intended Audience

Developers, Engineering, Science/Research

Programming Language

Java

Related Categories

Java Mathematics Software

Registered

2013-09-16