|
The following are programs I wrote when I
was a
student. I'll add more of the programs I wrote when I was a student
gradually.
- Discrete Mathematics/Structures and Numerical Analysis
The above are handy javascript programs to perform
long
division of polynomials, to find the greatest common divisor and write it
as a linear combination of the numbers, find the least common multiple,
find the canonical factorization of a positive integer (write it as a
product of primes), find the quotient and the remainder, determine if a
number is prime, solve linear and quadratic congruence systems (in
Zn), determine if two integers are relatively prime, find the
inverse in Zn, find Lagrange polynomial interpolation, Newton
polynomial interpolation , natural cubic splines interpolation, clamped
cubic splines interpolation, LU factorization, Cholesky factorization,
solve a linear system by the Jacobi method or Gauss-Seidel method.
Data Structures
Numerical Analysis
Coding Theory
Pattern Recognition
Others
|