import (
"encoding/binary"
"os"
)
func main() {
dat_file, _ := os.Create("test.txt")
defer dat_file.Close()
vectorDataLen := 1000
d := make([]float32, vectorDataLen)
for x := 0; x < len(d); x++ {
d[x] = float32(x)
}
binary.Write(dat_file, binary.LittleEndian, d)
}