polynomial-math
Is my subset sum algorithm of polynomial time?
I came up with a new algorithm to solve the subset sum problem, and I think it\'s in polynomial time. Tell me I\'m either wrong or a total genius.[详细]
2023-01-05 07:43 分类:问答Roots of a Quartic Function
I came across a situation doing some advanced collision detection, where I needed to calculate the roots of a quartic function.[详细]
2023-01-02 02:04 分类:问答help with multiplying polynomials in lisp
for example: (3x2 - 5x + 2)(7x + 1) 开发者_如何学JAVAand you simplify it like this: ((3 2)(-5 1)(2 0))((7 1)(1 0))[详细]
2022-12-30 14:52 分类:问答Modular Reduction of Polynomials in NTRUEncrypt
I\'m implementing the NTRUEncrypt algorithm, according to an NTRU tutorial, a polynomial f has an inverse g such that f*g=1 mod x, basically the polynomial multiplied by its inverse reduced modulo x g[详细]
2022-12-28 14:13 分类:问答Good Package for Fitting Polynomial Trend Lines
Given a simple data set, I would like to be able to calculate a trending formula given it\'s a second order polynomial regression.[详细]
2022-12-25 00:05 分类:问答polynomial surface fit numpy
How do I fit a 2D surface z=f(x,y) with a polynomial 开发者_如何学Pythonin numpy with full cross terms?This is inherently numerically ill-conditioned but you could do something like this:[详细]
2022-12-24 19:02 分类:问答Polynomial operations using operator overloading
I\'m trying to use operator overloading to define the basic operations (+,-,*,/) for my polynomial class but when i run the program it crashes and my computer frozes.[详细]
2022-12-22 11:28 分类:问答Polynomial Calculator
I\'m doing a polynomial calculator and i\'ll need some help as i\'ll progress with the code. For now I made only the polinom class which i represented it as a linked list with terms and some function[详细]
2022-12-22 05:07 分类:问答Calculating the area underneath a mathematical function
I have a range of data that I have approximated开发者_如何学编程 using a polynomial of degree 2 in Python. I want to calculate the area underneath this polynomial between 0 and 1.[详细]
2022-12-21 17:52 分类:问答Where can I find line buffering code?
I can\'t find any code for doing this. The only places I can find it is in GIS APIs. Preferably in java, but I can port other languages too. 开发者_Python百科I\'d even settle for a overview of all the[详细]
2022-12-16 03:03 分类:问答