polynomial-math Questions
2
Solved
I want to fast decompose polynomial over ring of integers (original polynomial has integer coefficients and all of factors have integer coefficients).
For example I want to decompose 4*x^6 + 20*x^...
Middleclass asked 5/4, 2015 at 20:36
3
Solved
So I have written down the codes for evaluating polynomial using three different methods. Horner's method should be the fastest, while the naive method should be the slowest, right? But how come th...
Ouphe asked 31/1, 2015 at 10:5
1
Solved
In this Code Review answer:
https://codereview.stackexchange.com/a/59405/11633
I found the following (nested quote ahead!):
Let me quote the wonderful book Numerical Recipes in C++ (but also a...
Steib asked 8/8, 2014 at 12:45
2
Solved
I'm having the worst time trying to find a JavaScript code that could allow me to do cubic regressions. Would write it myself, but my understanding of polynomial math is, well, suboptimal.
So, her...
Centre asked 11/3, 2014 at 8:1
3
Solved
Can I solve a system of nonlinear equations in terms of parameters in python? Is there a example or tutorial? I can do this easily in maple, but the expressions for my particular system are pretty ...
Upwards asked 3/3, 2014 at 20:27
1
Solved
I have the roots of a monic polynomial, i.e.
p(x) = (x-x_1)*...*(x-x_n)
and I need the coefficients a_n, ..., a_0 from
p(x) = x^n + a_{n-1}x^{n-1} + ... + a_0.
Does anybody know a computation...
Friederike asked 20/1, 2014 at 14:42
2
Solved
I'm trying to find a way to compute roots of a polynomial with complex coefficients in Java (i.e. an equivalent of what is ridiculously easily done with roots() in MATLAB).
I'm ready to recode a r...
Diffidence asked 13/3, 2013 at 12:51
2
Solved
I am using Numpy to obtain the roots of polynomials. Numpy provides a module 'polynomial'.
My hand calc for x^2 + 5*x + 6 = 0 is x = -2 & x = -3. (Simple)
But my code shows me the wrong answe...
Berne asked 25/9, 2013 at 22:2
1
Solved
This is about explicit/non-parametric quadratic Bézier curves. Normally you can't fit a quadratic Bézier curve to 3 points because the X-variable is also a function (Bézier = parametric function), ...
Richelieu asked 27/8, 2013 at 22:10
8
Solved
Let me start off by clarifying that(before you guys dismiss me), this is not a homework problem and I'm not a university student. :)
EDIT
Thanks to @Klas and others, my question now boils down to ...
Vieira asked 1/4, 2011 at 12:6
1
Solved
I am trying to generate orthogonal polynomials in R, but I keep getting an error I don't understand
> poly(1:1000, 50)
Error in poly(1:1000, 50) :
'degree' must be less than number of unique ...
Pia asked 1/8, 2013 at 15:56
1
Solved
These 2 functions perform Extended Euclidean Algorithm, and then find the multiplicative inverse. The order seems right, but it's not coming back with what I'm expecting as per this tool from U of ...
Boll asked 29/6, 2013 at 18:7
3
edit: the reference I got my equations from contained a couple of errors. I've fixed it here. Solutions might actually make sense now!
When a two layer fluid flows over topography, there exist a n...
Tillman asked 11/12, 2012 at 15:40
2
Solved
I have a polynomial of order N (where N is even). This polynomial is equal to minus infinity for x minus/plus infinity (thus it has a maximum). What I am doing right now is taking the derivative of...
Rapture asked 24/10, 2012 at 20:56
4
Solved
I'm trying to optimize a polynomial implementation of mine. In particular I'm dealing with polynomials with coefficients modulo n(might be >2^64) and modulo a polynomial in the form x^r - 1(r is...
Tanana asked 12/9, 2012 at 21:1
1
Solved
I'm trying to implement univariate polynomials using ZDDs, as suggested in a comment in an other question.
I've read the paper of S. Minato(you may download it here), but I don't understand how to...
Alleman asked 30/9, 2012 at 18:22
3
Solved
I have a quintic function (5th degree polynomial) and I would like to solve it in C++.
Is there an implementation or a math library I can use in order to proceed?
Wobbling asked 30/9, 2012 at 10:2
2
Solved
I have been fitting linear least-squares polynomials to data using the polyfit function in matlab. From what I read, this uses standard polynomial basis (monomial basis). I have read that using Che...
Shend asked 16/8, 2012 at 18:59
1
Solved
I'm writing some analytics modules for the site I'm working on and I need to estimate the total views after the current hour. I have data for every minute up to the current minute, so if the time i...
Didactic asked 3/8, 2012 at 13:34
3
Solved
So I've got a special case set of cubic splines, whose 2d control points will always result in a curve that will never cross itself in the x axis. That is, the curves look like they could be a simp...
Mushro asked 17/7, 2012 at 7:43
2
Solved
Is there a library to work with polynomial arithmetic when polynomials can have negative exponents? I found the poly1d class in numpy, but I cannot figure out how I could represent a polynomial lik...
Rabinowitz asked 11/7, 2012 at 13:12
2
Solved
Its just a basic question. I am fitting lines to scatter points using polyfit.
I have some cases where my scatter points have same X values and polyfit cant fit a line to it. There has to be somet...
Carrier asked 11/6, 2012 at 14:44
8
Solved
Integers can be used to store individual numbers, but not mathematical expressions. For example, lets say I have the expression:
6x^2 + 5x + 3
How would I store the polynomial? I could create ...
Alyosha asked 22/5, 2012 at 0:43
4
Solved
I have a 128-bit string, and my supervisor has asked me to represent those 128 bits as a polynomial. This is a scan of the paper he was writing on:
His idea is, since we are eliminating the 0s f...
Sweetmeat asked 17/12, 2011 at 20:36
5
Solved
I wrote an exam paper today, for a university course concerned with the implementation of data structures in Java. The last question was along these lines:
Explain why it's convienient to use a Tr...
Leger asked 14/12, 2011 at 17:1
© 2022 - 2024 — McMap. All rights reserved.