Versions in this module Expand all Collapse all v1 v1.0.4 Jun 5, 2023 v1.0.3 Jun 5, 2023 v1.0.2 Jun 5, 2023 v1.0.1 Jun 5, 2023 v1.0.0 Jun 5, 2023 Changes in this version + type CSRMat struct + ColIndexes []int + RowHeaders []int + Values []float64 + func CSRMatFromArray(values []float64, rows int, cols int) (CSRMat, error) + func CSRMatFromLibsvm(reader *bufio.Reader, limit int, skipFirstColumn bool) (*CSRMat, error) + func CSRMatFromLibsvmFile(filename string, limit int, skipFirstColumn bool) (*CSRMat, error) + func (m *CSRMat) Rows() int + type DenseMat struct + Cols int + Rows int + Values []float64 + func DenseMatFromArray(values []float64, rows int, cols int) (DenseMat, error) + func DenseMatFromCsv(reader *bufio.Reader, limit int, skipFirstColumn bool, delimiter string, ...) (*DenseMat, error) + func DenseMatFromCsvFile(filename string, limit int, skipFirstColumn bool, delimiter string, ...) (*DenseMat, error) + func DenseMatFromLibsvm(reader *bufio.Reader, limit int, skipFirstColumn bool) (*DenseMat, error) + func DenseMatFromLibsvmFile(filename string, limit int, skipFirstColumn bool) (*DenseMat, error) + func DenseMatZero(rows int, cols int) DenseMat + func (m *DenseMat) ToCsvFile(filename string, delimiter string) error + func (m *DenseMat) WriteStr(writer io.Writer, delimiter string) error