Documentation ¶
Index ¶
- type Element
- type PrimeIntList
- func (pn PrimeIntList) AppendFindTo(n Element) PrimeIntList
- func (pn PrimeIntList) GetLast() Element
- func (pn PrimeIntList) IsPrime(n Element) bool
- func (pn PrimeIntList) MaxCanCheck() Element
- func (pn PrimeIntList) MergeSort(workResult [][]Element) PrimeIntList
- func (pn PrimeIntList) MultiAppendFindTo(n Element) PrimeIntList
- func (pn PrimeIntList) MultiAppendFindTo2(n Element) PrimeIntList
- func (pn PrimeIntList) MultiAppendFindTo3(n Element) PrimeIntList
- func (pn PrimeIntList) MultiAppendFindTo4(n Element) PrimeIntList
- func (pn PrimeIntList) Save(filename string) error
- func (pn PrimeIntList) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrimeIntList ¶
type PrimeIntList []Element
func LoadPrimeIntList ¶
func LoadPrimeIntList(filename string) (PrimeIntList, error)
func New ¶
func New() PrimeIntList
func NewWithCap ¶
func NewWithCap(n int) PrimeIntList
func (PrimeIntList) AppendFindTo ¶
func (pn PrimeIntList) AppendFindTo(n Element) PrimeIntList
func (PrimeIntList) GetLast ¶
func (pn PrimeIntList) GetLast() Element
func (PrimeIntList) IsPrime ¶
func (pn PrimeIntList) IsPrime(n Element) bool
func (PrimeIntList) MaxCanCheck ¶
func (pn PrimeIntList) MaxCanCheck() Element
func (PrimeIntList) MergeSort ¶
func (pn PrimeIntList) MergeSort(workResult [][]Element) PrimeIntList
merge sort
func (PrimeIntList) MultiAppendFindTo ¶
func (pn PrimeIntList) MultiAppendFindTo(n Element) PrimeIntList
func (PrimeIntList) MultiAppendFindTo2 ¶
func (pn PrimeIntList) MultiAppendFindTo2(n Element) PrimeIntList
func (PrimeIntList) MultiAppendFindTo3 ¶
func (pn PrimeIntList) MultiAppendFindTo3(n Element) PrimeIntList
func (PrimeIntList) MultiAppendFindTo4 ¶
func (pn PrimeIntList) MultiAppendFindTo4(n Element) PrimeIntList
func (PrimeIntList) Save ¶
func (pn PrimeIntList) Save(filename string) error
func (PrimeIntList) String ¶
func (pn PrimeIntList) String() string
Click to show internal directories.
Click to hide internal directories.