Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ disableKinds = ['taxonomy', 'term', 'rss', 'sitemap', '404']

[[params.repos]]
name = "ndarray"
kind = "library · v0.41.3"
kind = "library · v0.42.0"
href = "https://github.com/go-ndarray/ndarray"
blurb = "The library, in <strong>13 dtypes</strong> with NumPy 2 promotion. Creation (<code>Zeros</code>/<code>Arange</code>/<code>Linspace</code>/…), strided <strong>views</strong>, broadcasting elementwise + ufuncs, reductions (<code>Sum</code> in <strong>NumPy's pairwise order, within a stated error bound checked against <code>math/big</code></strong>, from <a href=\"https://github.com/go-simd/floats\">go-simd/floats</a>; <code>Max</code>/<code>ArgMax</code>/<code>CumSum</code>/<code>Clip</code>/<code>Where</code>), manipulation (<code>Reshape</code>/<code>Concatenate</code>/<code>Stack</code>), linalg (<code>MatMul</code>/<code>Dot</code>) via a panel-packed cache-blocked GEMM with a go-asmgen SIMD-FMA micro-kernel (NEON 4&times;8 on arm64, AVX2/FMA 6&times;8 on amd64, VSX 8&times;8 on ppc64le, LASX 8&times;8 on loong64, RVV 6&times;16, or 8&times;16 on 256-bit vectors, on riscv64, 4&times;8 on s390x), and a <code>Workspace</code> arena for loops (<code>Use</code>/<code>Reset</code>/<code>Detach</code>). Packages <code>linalg</code>, <code>fft</code> and <code>random</code> are <code>numpy.linalg</code>, <code>numpy.fft</code> and <code>numpy.random</code>."
blurb = "The library, in <strong>13 dtypes</strong> with NumPy 2 promotion. Creation (<code>Zeros</code>/<code>Arange</code>/<code>Linspace</code>/…), strided <strong>views</strong>, broadcasting elementwise + ufuncs, reductions (<code>Sum</code> in <strong>NumPy's pairwise order, within a stated error bound checked against <code>math/big</code></strong>, from <a href=\"https://github.com/go-simd/floats\">go-simd/floats</a>; <code>Max</code>/<code>ArgMax</code>/<code>CumSum</code>/<code>Clip</code>/<code>Where</code>), manipulation (<code>Reshape</code>/<code>Concatenate</code>/<code>Stack</code>), linalg (<code>MatMul</code>/<code>Dot</code>) on <a href=\"https://github.com/go-blas/blas\">go-blas/blas</a>, a panel-packed cache-blocked GEMM with a go-asmgen SIMD-FMA micro-kernel, the same kernels as before v0.42.0 (NEON 4&times;8 on arm64, AVX2/FMA 6&times;8 on amd64, VSX 8&times;8 on ppc64le, LASX 8&times;8 on loong64, RVV 6&times;8 on riscv64, 4&times;8 on s390x), and a <code>Workspace</code> arena for loops (<code>Use</code>/<code>Reset</code>/<code>Detach</code>). Packages <code>linalg</code>, <code>fft</code> and <code>random</code> are <code>numpy.linalg</code>, <code>numpy.fft</code> and <code>numpy.random</code>."
[[params.repos]]
name = "docs"
kind = "site"
Expand Down Expand Up @@ -93,7 +93,7 @@ disableKinds = ['taxonomy', 'term', 'rss', 'sitemap', '404']
what = "`Concatenate`, `Stack` and the shape operations NumPy users reach for."
[[params.families]]
name = "Linear algebra"
what = "`MatMul` and `Dot` through a panel-packed, cache-blocked GEMM with a go-asmgen SIMD micro-kernel per architecture; package `linalg` is `numpy.linalg` (`Solve`, `Inv`, `Det`, `QR`, `SVD`, `Eig`, `Lstsq`, …), checked against numpy 2.5.3 on 1,040 cases."
what = "`MatMul` and `Dot` run on [go-blas/blas](https://github.com/go-blas/blas), the panel-packed, cache-blocked GEMM with a go-asmgen SIMD micro-kernel per architecture (the same kernels ndarray carried before v0.42.0); package `linalg` is `numpy.linalg` (`Solve`, `Inv`, `Det`, `QR`, `SVD`, `Eig`, `Lstsq`, …), checked against numpy 2.5.3 on 1,040 cases."
[[params.families]]
name = "Fourier transforms"
what = "Package `fft` is `numpy.fft` on arrays: `FFT`, `RFFT`, `FFT2`, `FFTN` and the rest, with `n`/`s`, `axes` and `norm`, over go-fft."
Expand Down
2 changes: 1 addition & 1 deletion layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<div class="hero"><div class="wrap">
<div>
<h1 class="head">NumPy-style n-dimensional arrays in pure Go.<br><span class="accent">13 dtypes, multicore + SIMD.</span></h1>
<p class="sub"><b>go-ndarray</b> is the <code>numpy</code> equivalent for Go: an n-dimensional array in <b>13 dtypes</b> with creation routines, <b>strided views that share data</b>, broadcasting elementwise ops and ufuncs, reductions (incl. arg / cumulative / clip / where), manipulation, linear algebra (a panel-packed, cache-blocked GEMM, and <code>numpy.linalg</code>), <code>numpy.fft</code> and <code>numpy.random</code>{{ if not (partial "mantra-on.html" .) }} — all in <b>pure Go, with cgo disabled</b>{{ end }}.</p>
<p class="sub"><b>go-ndarray</b> is the <code>numpy</code> equivalent for Go: an n-dimensional array in <b>13 dtypes</b> with creation routines, <b>strided views that share data</b>, broadcasting elementwise ops and ufuncs, reductions (incl. arg / cumulative / clip / where), manipulation, linear algebra (a panel-packed, cache-blocked GEMM from <a href="https://github.com/go-blas/blas">go-blas/blas</a>, and <code>numpy.linalg</code>), <code>numpy.fft</code> and <code>numpy.random</code>{{ if not (partial "mantra-on.html" .) }} — all in <b>pure Go, with cgo disabled</b>{{ end }}.</p>
{{ partial "cta.html" . }}
<div class="trust"><span><b>{{ len .Site.Params.families }}</b> API families, NumPy's names</span><span><b>6</b> SIMD targets</span><span><b>CGO=0</b> no BLAS shim</span></div>
</div>
Expand Down
3 changes: 2 additions & 1 deletion playground/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/go-ndarray/go-ndarray.github.io/playground
go 1.27.2

require (
github.com/go-ndarray/ndarray v0.41.3
github.com/go-ndarray/ndarray v0.42.0
github.com/go-widgets/mvvm v0.15.0
github.com/go-widgets/mvvmtk v0.15.0
github.com/go-widgets/painter v0.17.0
Expand All @@ -12,6 +12,7 @@ require (

require (
github.com/dsnet/compress v0.0.2-0.20230904184137-39efe44ab707 // indirect
github.com/go-blas/blas v0.2.1 // indirect
github.com/go-crdt/crdt v0.57.0 // indirect
github.com/go-gfx/gfx v0.41.0 // indirect
github.com/go-icons/iconoir v0.3.0 // indirect
Expand Down
6 changes: 4 additions & 2 deletions playground/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ github.com/andybalholm/brotli v1.2.7/go.mod h1:rzTDkvFWvIrjDXZHkuS16NPggd91W3kUS
github.com/dsnet/compress v0.0.2-0.20230904184137-39efe44ab707 h1:2tV76y6Q9BB+NEBasnqvs7e49aEBFI8ejC89PSnWH+4=
github.com/dsnet/compress v0.0.2-0.20230904184137-39efe44ab707/go.mod h1:qssHWj60/X5sZFNxpG4HBPDHVqxNm4DfnCKgrbZOT+s=
github.com/dsnet/golib v0.0.0-20171103203638-1ea166775780/go.mod h1:Lj+Z9rebOhdfkVLjJ8T6VcRQv3SXugXy999NBtR9aFY=
github.com/go-blas/blas v0.2.1 h1:5uZfmvXVZn9CjE+I3DalALqWHdKz+rbBs8VffH3dAZo=
github.com/go-blas/blas v0.2.1/go.mod h1:WjhlqzQ+RA8tS473f18QtcJl5Q0GonPs3RJIxT5G7Bk=
github.com/go-crdt/crdt v0.57.0 h1:sNLDTVCEnSb20gm77BUuYav8dzj5krmly/z9O7eRMCo=
github.com/go-crdt/crdt v0.57.0/go.mod h1:zdVTTDLGV5JYAoTJDqCivcAT+/B5gGebDsVd8QNZpVs=
github.com/go-gfx/gfx v0.41.0 h1:MVEnory0Zx8ypzuVDrTIWz4Cekv8hn5ilcYg3glJPrk=
Expand All @@ -11,8 +13,8 @@ github.com/go-icons/iconoir v0.3.0 h1:kHG2sU5IsCvtBS1JICuXgfFo5f8UfwY1m7KYMVy97C
github.com/go-icons/iconoir v0.3.0/go.mod h1:lPh5OuzVQ+rR4qDPGgAdSRUhnCbHeCAX70HDdwp8/RI=
github.com/go-images/images v0.1.1-0.20261026203936-4ac989d310a1 h1:R7Phx1lhFniaqF+k7yE72HcadFeViKYXXb9w2puZJRI=
github.com/go-images/images v0.1.1-0.20261026203936-4ac989d310a1/go.mod h1:TXN7V9gKgEe8L4GVYeTO01sQI6n5JUL5Q1xIl09qOio=
github.com/go-ndarray/ndarray v0.41.3 h1:uuhZ9hYcYXzOVoAQoO8i+HGBliR7ZCiHb/OXxmbPy6c=
github.com/go-ndarray/ndarray v0.41.3/go.mod h1:e/5IBOVrikiwf3Hs8Z6G9EGC7kVwKAj+K569C83HbyU=
github.com/go-ndarray/ndarray v0.42.0 h1:M7vWxCzIOhrXul0kOgltZwuZPEFferuYesMux1DmFlM=
github.com/go-ndarray/ndarray v0.42.0/go.mod h1:2eeyA/dVOXTAsj+KjCMD7Bz7kClkD8+NAlJp3G+OuSk=
github.com/go-opentype/fonts v0.14.0 h1:WHw7k9gkHT1pu9B2yyvd0FWyQqn/4NKFQoKhvMYt3Mo=
github.com/go-opentype/fonts v0.14.0/go.mod h1:od2QcmdpKo7QCqo6Jb16y4GULk+h2Hhfq6x3xfvn62Q=
github.com/go-opentype/opentype v0.16.2-0.20261027113239-5e69589e9a5e h1:SxBkVzp042LB0X7Ndu0WntqCVaewOm4DwikQYHenP5A=
Expand Down
Loading