package
0.0.0-20241101110232-83792b257ba9
Repository: https://github.com/gomlx/gemma.git
Documentation: pkg.go.dev
# Functions
FromValuesAndTree creates a Tree[T1] with the given values, but borrowing the structure from the given tree (but ignoring the tree's values).
Map converts a Tree[T1] to a Tree[T2] by calling mapFn at every element.
New creates a new empty tree.
NewLeaf creates a new leaf node with the given value.
ValuesAsList extracts the leaf values of Tree into a list.
# Variables
DefaultTreePath is used whenever an empty treePath is given.
# Type aliases
Path is usually used as the path from the root node.