diff --git a/example/go.mod b/example/go.mod index 86c19f6..1e471a4 100644 --- a/example/go.mod +++ b/example/go.mod @@ -3,7 +3,7 @@ module github.com/go-scikit/go-scikit.github.io/example go 1.27.3 require ( - github.com/go-ndarray/ndarray v0.46.0 + github.com/go-ndarray/ndarray v0.47.0 github.com/go-statistics/stats v0.1.1 ) @@ -12,10 +12,10 @@ require ( github.com/go-blas/blas v0.4.0 // indirect github.com/go-embedded-c/c v0.2.1 // indirect github.com/go-embedded-fortran/fortran v0.30.0 // indirect - github.com/go-embedded-julia/julia v0.25.0 // indirect + github.com/go-embedded-julia/julia v0.26.0 // indirect github.com/go-embedded-r/r v0.22.0 // indirect - github.com/go-notebook/notebook v0.24.0 // indirect - github.com/go-numerics/optimize v0.6.0 // indirect + github.com/go-notebook/notebook v0.25.0 // indirect + github.com/go-numerics/optimize v0.16.0 // indirect github.com/go-numerics/special v0.5.3 // indirect github.com/go-opentype/opentype v0.16.1 // indirect github.com/go-regexp/engine v0.4.2 // indirect @@ -24,7 +24,7 @@ require ( github.com/go-ruby-parser/parser v0.14.0 // indirect github.com/go-ruby-regexp/regexp v0.2.1 // indirect github.com/go-ruby-reline/reline v0.1.0 // indirect - github.com/go-simd/floats v0.26.0 // indirect + github.com/go-simd/floats v0.42.0 // indirect github.com/go-sparse/sparse v0.3.0 // indirect github.com/go-tex/math v0.50.0 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect diff --git a/example/go.sum b/example/go.sum index c772cbf..b5cb6f9 100644 --- a/example/go.sum +++ b/example/go.sum @@ -7,16 +7,16 @@ github.com/go-embedded-c/c v0.2.1 h1:LCNcLHJ1T3Ry0adJwO+jK9RnoFwrMd6yR/0bb0muHIc github.com/go-embedded-c/c v0.2.1/go.mod h1:MhuXRqUtTZTUnm/3fVjho1HiL6QCFylChzOQ+Tu9eiQ= github.com/go-embedded-fortran/fortran v0.30.0 h1:istuoEzsA+a1NEkl6LwOmgx1Sh4CdYmpEWjPSf8XmNs= github.com/go-embedded-fortran/fortran v0.30.0/go.mod h1:UUtUFdyuO7fWnDoBjbjGZNGXg7bH2fW2DLp1D4QOAkg= -github.com/go-embedded-julia/julia v0.25.0 h1:F/jsSizq2auKsCpZYLSIcIxYjZXbV+7j7wA7bSTAOwc= -github.com/go-embedded-julia/julia v0.25.0/go.mod h1:hylaxwsK4EPrDCme5FkZpnmsToxnzroHzY6yS0MTP50= +github.com/go-embedded-julia/julia v0.26.0 h1:DddScj4XX+O9u0WNRn5wfM+tRPLzWFr8Ik6msAfPsy4= +github.com/go-embedded-julia/julia v0.26.0/go.mod h1:hylaxwsK4EPrDCme5FkZpnmsToxnzroHzY6yS0MTP50= github.com/go-embedded-r/r v0.22.0 h1:hq6WHM/6mD6EPHS0xQfpxX9cWRF8Z7VIdttrT8wggQo= github.com/go-embedded-r/r v0.22.0/go.mod h1:BTArmDboiqM4eMHnw1YSt84+z8wTG7+gVvmE51tarEI= -github.com/go-ndarray/ndarray v0.46.0 h1:yKAaV7P2ZyzAL68wRGMbcGbXbwNicE4od7RejluQ088= -github.com/go-ndarray/ndarray v0.46.0/go.mod h1:RwzukOi5C/TwFEKjZfQ56S8duTpiFDWVfw9QqrzUdZo= -github.com/go-notebook/notebook v0.24.0 h1:0O8le0PC+drAZp5U1NzgjBPvyYWMhAgGDFO6sCFOWO4= -github.com/go-notebook/notebook v0.24.0/go.mod h1:kBbUIToiwu4/lc/oyzMBdY9lWfru22IQH6Qi0a8OEUM= -github.com/go-numerics/optimize v0.6.0 h1:7QjTy+M+PclufHFwIo5PrxReU397BvX0ys/ZIJ+kkSo= -github.com/go-numerics/optimize v0.6.0/go.mod h1:b5Fg+NuuCKViOXQLzfgBhxd0thmAjt6lREE8EDFVyQ8= +github.com/go-ndarray/ndarray v0.47.0 h1:Vn71wPK+t3y2a6sY6fn+AMyyvlWevUIGvGpBUNzGDFk= +github.com/go-ndarray/ndarray v0.47.0/go.mod h1:UzXTCjZhxaqvoGdTb3tuXBmn3f+bWY3ISLcvbmOrqbM= +github.com/go-notebook/notebook v0.25.0 h1:As96/c/8CJ0meBBOu8mzBQ95qOFPkBuhdfYFCT3e07g= +github.com/go-notebook/notebook v0.25.0/go.mod h1:6GIHGvjqsnhr2zxMuTnEE16i5hHMwLSI52SQIpwt2VU= +github.com/go-numerics/optimize v0.16.0 h1:xKR/ysRR9TSyetzLnmwDpd3+XbmGG5veavFp/JAEb70= +github.com/go-numerics/optimize v0.16.0/go.mod h1:1b4w9cvXIawVwC/0lxyKFDYjlsQWvGuM2KmOrp5GwvM= github.com/go-numerics/special v0.5.3 h1:sTZ4hbZE7XsDmMM0AclR0dQFFe9+mIjstxECvaMEOsU= github.com/go-numerics/special v0.5.3/go.mod h1:A4gX/e2znfRvkjSDMmMaFomZVeD9rDMeMlAILQLtoIA= github.com/go-opentype/opentype v0.16.1 h1:Hu2RKinqbd/WVSpRz6VrdKUPZUwPTZ4F9yx2HjZ5oCI= @@ -33,8 +33,8 @@ github.com/go-ruby-regexp/regexp v0.2.1 h1:hzcRVdV91IMMn57owxxp3y6kcBWduJE5fXYoG github.com/go-ruby-regexp/regexp v0.2.1/go.mod h1:Wa6vJhr6UR5wZuWtuJEEHZBI3rqYX5q1bj7TzUWIAXA= github.com/go-ruby-reline/reline v0.1.0 h1:KtpazqY8oEZB1+jn94ItAS9JKPylurgF51bvMfl4WrM= github.com/go-ruby-reline/reline v0.1.0/go.mod h1:0LGioiV81zcYhSZFQLfyDPyZxb2n4E6tjliKVT42j4I= -github.com/go-simd/floats v0.26.0 h1:IovUqTYY7U+CPDh/4JJMoCGBzuYK6zpSOzuWg/tn4Ks= -github.com/go-simd/floats v0.26.0/go.mod h1:Aq5a6oY5pUqm9Hpi+iV2nrNmaaUb0rwHvUHIerXWSvA= +github.com/go-simd/floats v0.42.0 h1:DYzJXKO2nFJuixbUvcJVEmNluBQJi2mDLg4zEJkJSxU= +github.com/go-simd/floats v0.42.0/go.mod h1:Aq5a6oY5pUqm9Hpi+iV2nrNmaaUb0rwHvUHIerXWSvA= github.com/go-sparse/sparse v0.3.0 h1:y++tCTIdQsGwUavxCHKfDt4AX8T2zUnwyDQ3Vix3uP8= github.com/go-sparse/sparse v0.3.0/go.mod h1:Ds5+sYeB78IUtIe83Xi3km+wMbD7sW2u1q64eLS8bhI= github.com/go-statistics/stats v0.1.1 h1:41gSX4+rAc7BeOXUXZ+TsNU5rIUMkNmkeeETNXn9lUM= diff --git a/hugo.toml b/hugo.toml index f62133d..0e87ccd 100644 --- a/hugo.toml +++ b/hugo.toml @@ -51,7 +51,7 @@ disableKinds = ['taxonomy', 'term', 'rss', 'sitemap', '404'] layer = 0 short = "arrays, numpy.linalg, numpy.random" lib = "ndarray" - state = "ndarray v0.46.0" + state = "ndarray v0.47.0" live = true brand = true blurb = "N-dimensional arrays in 13 dtypes with NumPy 2 promotion, broadcasting, strided views and reductions, multicore and SIMD. Package linalg is numpy.linalg, fft is numpy.fft, and random is numpy.random with NumPy's numbers for the same seed." @@ -61,7 +61,7 @@ disableKinds = ['taxonomy', 'term', 'rss', 'sitemap', '404'] layer = 0 short = "numpy.fft, scipy.fft" lib = "fft" - state = "fft v0.49.0" + state = "fft v0.51.0" live = true brand = true blurb = "The numpy.fft / scipy.fft equivalent: complex and real transforms of any length, N-D, the DCT and DST, single precision, windows, with no dependency on FFTW. AVX2 and AVX-512 kernels on amd64, NEON on arm64, bit-identical to the Go code." @@ -71,7 +71,7 @@ disableKinds = ['taxonomy', 'term', 'rss', 'sitemap', '404'] layer = 1 short = "optimize, integrate, special" lib = "optimize" - state = "optimize v0.9.0, integrate v0.3.0, special v0.22.0" + state = "optimize v0.16.0, integrate v0.5.1, special v0.23.0" live = true brand = true blurb = "Numerical methods ported statement by statement from their reference algorithms: minimisation, roots, least squares and linear programming (optimize); QUADPACK quadrature and ODE solvers (integrate); gamma, beta, error, Bessel and zeta functions measured against mpmath (special)." @@ -109,11 +109,11 @@ disableKinds = ['taxonomy', 'term', 'rss', 'sitemap', '404'] layer = 2 short = "compiled, reactive notebooks" lib = "notebook" - state = "notebook v0.24.0" + state = "notebook v0.25.0" live = true playground = "https://go-notebook.github.io/playground/" brand = true - blurb = "A notebook is a Markdown file whose go and ruby blocks are cells. The kernel compiles it into a real Go program, orders the cells of both languages by what they use, and runs only what changed, keeping values across runs. Ruby cells run on go-embedded-ruby, with the go-scikit bindings." + blurb = "A notebook is a Markdown file whose go, ruby and julia blocks are cells that share variables (r and fortran blocks run too, c blocks are checked). The kernel compiles it into a real Go program, orders the cells by what they use, and runs only what changed, keeping values across runs. Ruby cells run on go-embedded-ruby, with the go-scikit bindings." [[params.orgs]] name = "go-bignum" layer = 1 diff --git a/layouts/index.html b/layouts/index.html index d72754b..6caa4cf 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -31,10 +31,10 @@

Science in Go,
{{/* The sheet's .accent paints with --grad, base to deep: on a dark page this logo's dark slate stops would vanish. --accent and --accent-deep are the same two in light and the bright stop in dark. */}}all the way down.

-

go-scikit is the umbrella over {{ len $orgs }} organisations that together cover what a Python notebook reaches for in NumPy, SciPy, pandas and matplotlib: arrays, FFTs, numerical methods, statistics, labelled tables, figures and notebooks, and, on the way to parity with MATLAB and Mathematica, sparse matrices, interpolation, signal processing and arbitrary precision.{{ if not (partial "mantra-on.html" .) }} Pure Go, CGO=0,{{ end }} Each library is measured against its reference, with the documents that say where it is slower or less accurate. A notebook's cells can be Go or Ruby, one cell reading what the other computed. julia cells are planned on go-embedded-julia (plan).

+

go-scikit is the umbrella over {{ len $orgs }} organisations that together cover what a Python notebook reaches for in NumPy, SciPy, pandas and matplotlib: arrays, FFTs, numerical methods, statistics, labelled tables, figures and notebooks, and, on the way to parity with MATLAB and Mathematica, sparse matrices, interpolation, signal processing and arbitrary precision.{{ if not (partial "mantra-on.html" .) }} Pure Go, CGO=0,{{ end }} Each library is measured against its reference, with the documents that say where it is slower or less accurate. A notebook's cells can be Go, Ruby or Julia, one cell reading what the other computed; R and Fortran cells run too, each keeping its variables, and C cells are checked, not run. More Julia types across cells, and Julia cells in the browser playground, are planned on go-embedded-julia (plan).

{{/* [[params.cta]] in hugo.toml: the kit renders the row */}} {{ partial "cta.html" . }} -
{{ len $orgs }} organisationsGo and Ruby cells{{ if not (partial "mantra-on.html" .) }}CGO=0 everywhereBSD-3-Clause{{ end }}
+
{{ len $orgs }} organisationsGo, Ruby, Julia, R, Fortran cells{{ if not (partial "mantra-on.html" .) }}CGO=0 everywhereBSD-3-Clause{{ end }}
first.md
@@ -100,7 +100,7 @@

{{ len .Site.Params.claims }} claims, each with its evidence.

Roadmap

Parity with MATLAB and Mathematica, in four waves.

-

The goal is feature parity with MATLAB (base and toolboxes) and Mathematica, in pure Go (CGO=0), each piece validated against the reference tools of its domain. The plan, the home of each domain and the order of the work are in the roadmap repository: PLAN.md, STATUS.md and the bibliography. Five packages of the new organisations have been released: go-approx/interp v0.2.1 (speed comparison in its docs/perf.md), go-approx/poly, go-dsp/signal and go-sparse/sparse v0.1.0, each at or below its reference's time on every case measured, and go-bignum/bigfloat v0.1.0, at or below mpmath's time on every function (docs/perf.md). The vector-update kernels Axpy, Xpby, AxpyDot and Scale shipped in go-simd/floats v0.4.0. Speed claims are being brought under one rule, set out in the performance campaign: against the reference, on one core, in interleaved rounds, only when the host's load is under 8. The shared tool, go-scikit/refbench v0.1.0, is released; no repository has migrated to it yet.

+

The goal is feature parity with MATLAB (base and toolboxes) and Mathematica, in pure Go (CGO=0), each piece validated against the reference tools of its domain. The plan, the home of each domain and the order of the work are in the roadmap repository: PLAN.md, STATUS.md and the bibliography. Five packages of the new organisations have been released: go-approx/interp v0.2.2 (speed comparison in its docs/perf.md), go-approx/poly v0.1.1, go-dsp/signal v0.2.0, go-sparse/sparse v0.3.2 and go-bignum/bigfloat v0.2.0, each timed against its reference (see its docs/perf.md; the roadmap's STATUS.md says which rows are current). The vector-update kernels Axpy, Xpby, AxpyDot and Scale are in go-simd/floats (latest v0.44.0). Speed claims are being brought under one rule, set out in the performance campaign: against the reference, on one core, in interleaved rounds, only when the host's load is under 8. The shared tool, go-scikit/refbench v0.4.1, is released.

{{ range .Site.Params.waves }}

{{ .name }}

{{ .what | safeHTML }}

Homes: {{ .homes }}

@@ -124,7 +124,7 @@

A first notebook, in four commands.

# notebook serve first.md the same, live in the browser, editable

Run it again and every cell is kept: a cell whose code and inputs did not change is not run again, across runs. The go-notebook documentation gives the cell rules; to try the arrays and the transforms without installing anything, the go-ndarray and go-fft playgrounds run them compiled to WebAssembly in the browser, and the go-notebook, go-statistics and go-numerics playgrounds run whole notebooks there, Go and Ruby cells alike: edit the cells, run them, see the figures.

-

A ruby cell runs on go-embedded-ruby, a Ruby written in Go, so the notebook stays one Go program with no Ruby to install. It sees the values the Go cells above it defined (here x, a Go []float64), and the Go cells below it see what it defines; the kernel orders and re-runs cells of both languages by what they use. From Ruby, the stack is reached through go-scikit/ruby, which the kernel adds by itself: Stats, Special, Optimize, Integrate, DataFrame and Plot call the same Go functions, with the same answers. The Ruby cells page gives the rules, and the -timeout and -memory limits that stop a runaway cell. julia cells are planned on go-embedded-julia, a Julia interpreter in Go that is in development (milestones M0 and M1); the plan is bib/julia.md in the roadmap.

+

A ruby cell runs on go-embedded-ruby, a Ruby written in Go, so the notebook stays one Go program with no Ruby to install. It sees the values the Go cells above it defined (here x, a Go []float64), and the Go cells below it see what it defines; the kernel orders and re-runs cells of both languages by what they use. From Ruby, the stack is reached through go-scikit/ruby, which the kernel adds by itself: Stats, Special, Optimize, Integrate, DataFrame and Plot call the same Go functions, with the same answers. The Ruby cells page gives the rules, and the -timeout and -memory limits that stop a runaway cell. julia cells run on go-embedded-julia (v0.26.0 in notebook v0.25.0), a Julia interpreter in Go. Julia numbers, strings, vectors and matrices already cross to the Go and Ruby cells; more types, and Julia cells in the browser playground, are still planned. The plan is bib/julia.md in the roadmap.