Giter Site home page Giter Site logo

Comments (4)

markrogoyski avatar markrogoyski commented on May 25, 2024 2

Hi @n-gram-hub,

Thank you for your interest in MathPHP.

Can you provide some more details about your feature request. It will be helpful to provide some example inputs and outputs to clarify the functionality you are requesting.

Thanks!
Mark

from math-php.

n-gram-hub avatar n-gram-hub commented on May 25, 2024

The first functionality is factoring polynomials in general (that is, decompose a polynomial into a product of two, or more, polynomials).

The second one is related to fractions and differences of squares, eg.

4/9x^2-9/4y^2

should produce as its first result (you can have many different ways of factoring):

(2/3x-3/2y)*(2/3x+3/2y)

from math-php.

Beakerboy avatar Beakerboy commented on May 25, 2024

If you can find another library that does this, the code could be translated to PHP. Floating point arithmetic makes this extremely difficult due to the accumulation of tiny errors.

from math-php.

n-gram-hub avatar n-gram-hub commented on May 25, 2024

If you can find another library that does this, the code could be translated to PHP. Floating point arithmetic makes this extremely difficult due to the accumulation of tiny errors.

I couldn't find any library doing this, but maybe the idea to make it work is not thinking in terms of floating point numbers

from math-php.

Related Issues (20)

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.