Coder Social home page Coder Social logo

jalgebra's Introduction

jAlgebra

Java packages I have created that can construct and evaluate algebraic polynomials and equations (WIP).

I was not happy to hear that Java does not have a package that can deal with equations, polynomials or anything much like Python does. So I thought I would attempt to start working on something like that and see how far I get.

The first class is the Polynomials class, which will encompass all algebraic equations and expressions. The goal of this class, by the time it is done, is for it to be able to do the following:

evaluate any polynomial given one or more inputs, solve any polynomial or at least come up with an approximate solution to a given degree of accuracy, factor out or expand one or more factored components of a polynomial

This class will have three other classes that will inherit its generic properites:

linear functions quadratics cubics

Other equations will still be factored and expanded as expected, but will be approximately solved depending on the complexity and nature of the given polynomial.

The polynomial class, once finished, will be able to do the following as well:

determine the degree of the given poynomial, sort the terms into descending order as expected, identify if the expression actually is a polynomial. This means no fractional exponents of any kind.

The complex number class is especially important because a quadratic or cubic polynomia's roots may or may not be real. So this will esecpailly play a role in determining what the function's-in-question roots are.

jalgebra's People

Contributors

sdl6810 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.