quadratic

package
v0.0.0-...-584fa6f Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEquation

func NewEquation(quadratic, linear, constant complex128, precision int) *equation

func NewSolution

func NewSolution(x1, x2 complex128) *solution

func Solve

func Solve(e *equation) (s *solution, err error)

Solve attempts to solve the quadratic equation made up of the given coefficients using the 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