Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Polynom ¶
type Polynom struct {
// contains filtered or unexported fields
}
Polynom represents a big integer polynom.
func NewRandom ¶
NewRandom returns a new random polynom of the given degree, which is subjected to arithmetics of the given modulus.
func (Polynom) Coeff ¶
Coeff returns the i'th coefficient.
Can panic with index out of range when i >= p.Deg().
Click to show internal directories.
Click to hide internal directories.