Choose a task guide
Start from the problem you need to solve:
- Vectors and matrices — make vectors and matrices, read entries, rows, and columns, do arithmetic, and solve a square system.
- Dense systems and least squares — solve square systems, fit one or many responses, inspect pivoted QR, apply row scales, and reuse scratch.
- Reductions, norms, and elementwise numerics — sum, mean, extrema, per-axis reductions, norms, and stable log-sum-exp and softmax.
- Sparse matrices and operator solves — construct CSR, run iterative methods, and define a matrix-free operator.
- Compare two linear fits — certify a decrease without subtracting independently rounded residual energies.
- Complex Hermitian factors — construct complex matrices, factor a Hermitian PSD matrix, and solve with an explicit rank cutoff.
- Spectral analysis — compute dense eigenvalues or SVD and interpret partial convergence.
- Bounded symmetric tanh rotation — iterate over already whitened observations with explicit initialization and typed stopping outcomes.
- Minimum-norm solves and subspaces — choose a singular-value cutoff, reuse projections, and report null equations.
- First-order composite optimization — choose proximal, projected, primal-dual, or exact-reduction capabilities.
- Nonlinear fitting and bounded optimization — fit residual models with LM or choose L-BFGS-B or projected BFGS for bounds.
- Derivative-free optimization with CMA-ES — evaluate continuous black-box objectives with seeded populations, work limits, and optional bounds.
- General constrained optimization — minimize smooth objectives with nonlinear equalities, inequalities, and optional box bounds.
- Moving a Breeze workload to Gale — migrate the
supported real-
Doublelinear algebra slice without assuming source compatibility.
The worked-example map summarizes the learning path and routes to advanced ownership, sparse-structure, and generalized-eigensolver material.
If you have not completed one Gale call yet, begin with Get your first result. If you know the call but not the failure, use Troubleshooting.
Development previews
Section titled “Development previews”- Axis margins (unreleased, source checkout required) — preserve row/column intent through reductions and apply explicit pointwise or fused transformations. This API is not in the published 0.1.0-M1 artifact.