polynomial

package
v0.0.0-...-78fa8ed Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComputeRoots

func ComputeRoots(coefficients ...float64) (realRoots []float64, complexRoots []complex128)

Return real and complex root of real polynomial with given coefficients in reverse order with their degree, ending with coefficient with degree 0. Every n degree polynomial has n roots Is assumed that length of coefficients is at least 1

For polynomial of degree:

- 1: Opposite of coefficient - 2: Quadratic formula

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL