//
pkg.gl
Category
github.com/tawesoft/golib/v2
ds
matrix
dimensions
package
2.16.0
Repository:
https://github.com/tawesoft/golib.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
2
Dependents
1
Files
480 SLOC
#
Functions
Crop
Crop returns a [Map] of a sub-region of the target shape.
New
New returns a new element implementing the dimensions interface D.
Sampler
Sampler returns a new Mapper that can flip, drop, or reorder dimensions of shapes arbitrarily.
#
Structs
Mapper
Mapper can be used to create a [Map] for any shape.
SamplerSyntaxError
No description provided by the author
#
Interfaces
D
D is the interface implemented by an element that represents the dimensionality (e.g.
Map
Map describes a new set of dimensions formed by applying a mapping operation to an original set of dimensions.
#
Type aliases
D1
D1 is a 1-dimensional implementation of the [D] interface.
D2
D2 is a 2-dimensional implementation of the [D] interface.
D3
D3 is a 3-dimensional implementation of the [D] interface.
D4
D4 is a 4-dimensional implementation of the [D] interface.