Versions in this module Expand all Collapse all v1 v1.0.1 Feb 28, 2025 Changes in this version + func NPZToCsvDir(npzPath string, outputDir string) error + func ToCsv[T any](arr *Array[T], csvPath string) error v1.0.0 Feb 28, 2025 Changes in this version + func Add[T any](npz *NPZFile, name string, arr *Array[T]) + func Keys(npz *NPZFile) []string + func WriteFile[T any](path string, arr *Array[T]) error + func WriteNPZFile(path string, npz *NPZFile) error + func Write[T any](w io.Writer, arr *Array[T]) error + type Array struct + DType DType + Data []T + Fortran bool + Shape []int + func Get[T any](npz *NPZFile, name string) (*Array[T], bool) + func ReadFile[T any](path string) (*Array[T], error) + func Read[T any](r io.Reader) (*Array[T], error) + type DType string + const Bool + const Float32 + const Float64 + const Int16 + const Int32 + const Int64 + const Int8 + const Uint16 + const Uint32 + const Uint64 + const Uint8 + type NPZFile struct + func NewNPZFile() *NPZFile + func ReadNPZFile(path string) (*NPZFile, error)