Skip to main content
Code Review

Questions tagged [polynomials]

The tag has no summary.

Filter by
Sorted by
Tagged with
0 votes
0 answers
18 views

Compute the flood polynomial of one graph using Mathematica

Reference: arXiv:2504.04233 Example 2.12: 4-vertex cycle graph Structure: Square graph with 4 vertices Flooding cascade sets: 7 total (2 of size 2, 4 of size 3, 1 of size 4) Key insight: Opposite ...
0 votes
0 answers
23 views

Expansion of the Rasala polynomials for symmetric group character degrees using Mathematica

I'd like to use Mathematica to demonstrate the expansion of the Rasala polynomials for symmetric group character degrees accroding to arXiv 2509.13190 The code is as follows. You may try it online! <...
4 votes
1 answer
93 views

Polynomial parsing using regular expressions in Python

I've made a code in Python 3 which converts a polynomial with integer coefficients (in simplified integer form) from string form to a list of tuples of the form (coefficient, exponent, variable). It ...
Sam's user avatar
Sam
  • 147
4 votes
2 answers
152 views

Polynomial.java - multiplication algorithms: naïve, Karatsuba, FFT

Intro This post is a supplement to Polynomial.java - a Java class for dealing with polynomials with BigDecimal coefficients. It presents the three polynomial multiplication algorithms. Given two ...
7 votes
3 answers
763 views

Polynomial.java - a Java class for dealing with polynomials with BigDecimal coefficients

(You can find multiplication algorithms in Polynomial.java - multiplication algorithms: naïve, Karatsuba, FFT.) Intro This post presents the main class (Polynomial) ...
5 votes
2 answers
771 views

Polynomial.java - A tiny Java library for dealing with polynomials with double coefficients

Intro This time, I have produced Polynomial.java. It is a simple polynomial class that stores its coefficients as double values in an array. Code ...
0 votes
1 answer
72 views

reassigning a variable with a divide operator gives nan in program when zero is entered [closed]

Please keep in mind that I am very new to programming. I was given a the following question as my assignment in C++: Write a program that computes the value of an nth degree polynomial $$A(x)=a_0+...
3 votes
1 answer
126 views

"Flattening" a 2D STM image by subtracting an Nth order polynomial without typing out all the terms for each N?

I have some scanning tunneling microscopy (STM) topography images that I need to flatten. I have found that for some data I need a 4th order polynomial, but in other cases a lower order works better. ...

AltStyle によって変換されたページ (->オリジナル) /