mirror of
https://github.com/luxfi/lattice.git
synced 2026-09-24 00:25:44 +00:00
15 lines
290 B
Go
15 lines
290 B
Go
package bignum
|
|
|
|
import (
|
|
"math/big"
|
|
)
|
|
|
|
// Interval is a struct storing information about interval
|
|
// for a polynomial approximation.
|
|
// Nodes: the number of points used for the interpolation.
|
|
// [A, B]: the domain of the interpolation.
|
|
type Interval struct {
|
|
Nodes int
|
|
A, B big.Float
|
|
}
|