lab

module
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2025 License: BSD-3-Clause

README

Cogent Core Logo
Cogent Lab Name Banner

Go Report Card pkg.go.dev docs GitHub Actions Workflow Status Test Coverage Version

Cogent Lab is a free and open source data science and visualization framework for Go, built on top of the Cogent Core app framework, so that the same code runs on macOS, Windows, Linux, iOS, Android, and web.

See the Cogent Lab Website for more information, including extensive documentation and editable interactive running examples.

Directories

Path Synopsis
base
atomicx
Package atomicx implements misc atomic functions.
Package atomicx implements misc atomic functions.
mpi
Package mpi wraps the Message Passing Interface for distributed memory data sharing across a collection of processors (procs).
Package mpi wraps the Message Passing Interface for distributed memory data sharing across a collection of processors (procs).
randx
Package randx provides randomization functionality built on top of standard math/rand random number generation functions.
Package randx provides randomization functionality built on top of standard math/rand random number generation functions.
cmd
tablecat command
ttail command
examples
basic command
grids command
pca command
planets command
plot command
random command
Package random plots histograms of random distributions.
Package random plots histograms of random distributions.
simmer command
simstats command
Package goal provides the Goal Go augmented language transpiler, which combines the best parts of Go, bash, and Python to provide an integrated shell and numerical expression processing experience.
Package goal provides the Goal Go augmented language transpiler, which combines the best parts of Go, bash, and Python to provide an integrated shell and numerical expression processing experience.
cmd/goal command
Command goal is an interactive cli for running and compiling Goal code.
Command goal is an interactive cli for running and compiling Goal code.
goalib
Package goalib defines convenient utility functions for use in the goal shell, available with the goalib prefix.
Package goalib defines convenient utility functions for use in the goal shell, available with the goalib prefix.
gosl translates Go source code into WGSL compatible shader code.
gosl translates Go source code into WGSL compatible shader code.
alignsl
package alignsl performs 16-byte alignment checking of struct fields and total size modulus checking of struct types to ensure WGSL (and GSL) compatibility.
package alignsl performs 16-byte alignment checking of struct fields and total size modulus checking of struct types to ensure WGSL (and GSL) compatibility.
examples/basic command
This example just does some basic calculations on data structures and reports the time difference between the CPU and GPU.
This example just does some basic calculations on data structures and reports the time difference between the CPU and GPU.
examples/rand command
slbool
package slbool defines a WGSL friendly int32 Bool type.
package slbool defines a WGSL friendly int32 Bool type.
threading
Package threading provides a simple parallel run function.
Package threading provides a simple parallel run function.
lab
Package patterns contains functions that generate patterns, typically based on various constrained-forms of random patterns.
Package patterns contains functions that generate patterns, typically based on various constrained-forms of random patterns.
plots
Package plots defines a variety of standard Plotters for the plot package.
Package plots defines a variety of standard Plotters for the plot package.
Package plotcore provides Cogent Core widgets for viewing and editing plots.
Package plotcore provides Cogent Core widgets for viewing and editing plots.
Package stats provides standard statistic computations operating on the `tensor.Tensor` standard data representation.
Package stats provides standard statistic computations operating on the `tensor.Tensor` standard data representation.
glm
metric
Package metric provides various similarity / distance metrics for comparing tensors, operating on the tensor.Tensor standard data representation.
Package metric provides various similarity / distance metrics for comparing tensors, operating on the tensor.Tensor standard data representation.
bitslice
Package bitslice implements a simple slice-of-bits using a []byte slice for storage, which is used for efficient storage of boolean data, such as projection connectivity patterns.
Package bitslice implements a simple slice-of-bits using a []byte slice for storage, which is used for efficient storage of boolean data, such as projection connectivity patterns.
tensormpi
Package tensormpi has methods to support use of MPI with tensor and table data structures.
Package tensormpi has methods to support use of MPI with tensor and table data structures.
tmath
Package tmath provides basic math operations and functions that operate on tensor.Tensor.
Package tmath provides basic math operations and functions that operate on tensor.Tensor.
Package tensorcore provides GUI Views of table Table and Tensor structures using the Cogent Core views framework.
Package tensorcore provides GUI Views of table Table and Tensor structures using the Cogent Core views framework.
Package vector provides standard vector math functions that always operate on 1D views of tensor inputs regardless of the original vector shape.
Package vector provides standard vector math functions that always operate on 1D views of tensor inputs regardless of the original vector shape.
Package yaegilab provides functions connecting https://github.com/cogentcore/yaegi to Cogent Lab.
Package yaegilab provides functions connecting https://github.com/cogentcore/yaegi to Cogent Lab.
labsymbols
Package labsymbols contains yaegi symbols for lab GUI packages.
Package labsymbols contains yaegi symbols for lab GUI packages.
tensorsymbols
Package tensorsymbols contains yaegi symbols for tensor packages and other base lab packages.
Package tensorsymbols contains yaegi symbols for tensor packages and other base lab packages.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL