Documentation
¶
Overview ¶
sleigh is how Santa gets his toys from here to there (data transformations)
Index ¶
- func BinaryStringToUint64s(input []string) []uint64
- func BitAbstractionToUint64s(input []string, zeroVal, oneVal string) []uint64
- func BreakToBlocks(input []string) [][]string
- func BreakToInt64Blocks(input []string) [][]int64
- func CharToBools(input []string, trueVal, falseVal rune) [][]bool
- func CreateMatrix[T any](numRows, numCols int) [][]T
- func Reverse[T any](in *[]T)
- func ReverseHorizontal[T any](in *[][]T)
- func ReverseVertical[T any](in *[][]T)
- func StandardizeDimensions[T any](in [][]T, fill T) [][]T
- func ToBools(input []string) [][]bool
- func ToInt64s(input []string) []int64
- func ToRunes(input []string) [][]rune
- func Tokenize(input []string) [][]string
- func TransposeMatrix[T any](in [][]T) ([][]T, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BinaryStringToUint64s ¶
func BitAbstractionToUint64s ¶
func BreakToBlocks ¶
func BreakToInt64Blocks ¶
func CharToBools ¶
func CreateMatrix ¶
func ReverseHorizontal ¶
func ReverseHorizontal[T any](in *[][]T)
func ReverseVertical ¶
func ReverseVertical[T any](in *[][]T)
func StandardizeDimensions ¶
func StandardizeDimensions[T any](in [][]T, fill T) [][]T
func TransposeMatrix ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.