Exemplo n.º 1
0
func meowNewPoint(stuffs []float64) *meowPoint {
	my := &meowPoint{}
	my.stuffs = meow_data_structures.NewArrayList()
	for x := 0; x < meowLen(stuffs); x++ {
		my.stuffs.meowAdd(stuffs[x])
	}
	return my
}
Exemplo n.º 2
0
// new meowCluster
func meowNewCluster(blackhole *meowPoint) *meowCluster {
	my := &meowCluster{}
	my.blackhole = blackhole
	my.dots = meow_data_structures.NewArrayList()
	return my
}