Skip to main content

Module common

Module common 

Source
Expand description

Shared helpers for builtin implementations.

This module hosts small utility subsystems that builtins can depend on.

Modulesยง

arg_tokens
broadcast
Broadcasting utilities shared across builtin implementations.
concatenation
Matrix and array concatenation operations
deal
elementwise
Element-wise operations for matrices and scalars
env
format
Shared formatting helpers for string-producing builtins.
fs
Filesystem helper utilities shared across REPL-facing builtins.
gpu_helpers
identifiers
Shared MATLAB identifier and keyword compatibility helpers.
indexing
Matrix indexing and slicing operations
linalg
matrix
Matrix operations for MATLAB-compatible arithmetic
path_search
Shared helpers for searching the RunMat filesystem search path.
path_state
Session-wide MATLAB path state shared between the path builtin and filesystem helpers such as exist or which.
random
random_args
residency
Shared heuristics for deciding when newly constructed arrays should prefer GPU residency, even when none of their inputs already live on the device.
shape
spec
tensor
validation
Shared MATLAB argument-validation helpers and callable mustBe* builtins.