# Change Log - **Last updated**: 2026-07-02T14:22:52Z - **Generator**: [thi.ng/monopub](https://thi.ng/monopub) All notable changes to this project will be documented in this file. Only versions published since **2023-01-01** are listed here. Please consult the Git history for older version information. See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines. **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes and/or version bumps of transitive dependencies. ### [0.11.8](https://codeberg.org/thi.ng/umbrella/src/tag/@thi.ng/tensors@0.11.8/packages/tensors) (2026-03-11) #### โ™ป๏ธ Refactoring - update const use in for-of loops ([c768f87](https://codeberg.org/thi.ng/umbrella/commit/c768f87)) ## [0.11.0](https://codeberg.org/thi.ng/umbrella/src/tag/@thi.ng/tensors@0.11.0/packages/tensors) (2026-02-22) #### ๐Ÿš€ Features - add histogram functions, add cdf(), add findIndex() ([50f4ca0](https://codeberg.org/thi.ng/umbrella/commit/50f4ca0)) #### โ™ป๏ธ Refactoring - add ITensor0/1/2/3/4, update ITensor, update all ops signatures ([0be6c13](https://codeberg.org/thi.ng/umbrella/commit/0be6c13)) ### [0.10.14](https://codeberg.org/thi.ng/umbrella/src/tag/@thi.ng/tensors@0.10.14/packages/tensors) (2026-02-07) #### โ™ป๏ธ Refactoring - replace deprecated `unsupported()` call sites in all pkgs ([3abbddf](https://codeberg.org/thi.ng/umbrella/commit/3abbddf)) ### [0.10.9](https://codeberg.org/thi.ng/umbrella/src/tag/@thi.ng/tensors@0.10.9/packages/tensors) (2025-12-03) #### โ™ป๏ธ Refactoring - update for-loops (use const where possible) ([5ceaf1a](https://codeberg.org/thi.ng/umbrella/commit/5ceaf1a)) ## [0.10.0](https://codeberg.org/thi.ng/umbrella/src/tag/@thi.ng/tensors@0.10.0/packages/tensors) (2025-09-01) #### ๐Ÿš€ Features - add 1D/2D/3D samplers and resampling fns ([2130067](https://codeberg.org/thi.ng/umbrella/commit/2130067)) - add `defSampler1/2/3/4()` and supporting helpers - add sampling kernel presets: - `SAMPLE_NEAREST` - `SAMPLE_LINEAR` - `SAMPLE_CUBIC` - `SAMPLE_LANCZOS` (higher order) - add `resample1/2/3()` fns ## [0.9.0](https://codeberg.org/thi.ng/umbrella/src/tag/@thi.ng/tensors@0.9.0/packages/tensors) (2025-08-16) #### ๐Ÿš€ Features - add 0-dim (wrapped scalar) tensor support ([cd22ee6](https://codeberg.org/thi.ng/umbrella/commit/cd22ee6)) - add `Tensor0`, `Shape0` - update HOF tensor op generators - add/update tests ## [0.8.0](https://codeberg.org/thi.ng/umbrella/src/tag/@thi.ng/tensors@0.8.0/packages/tensors) (2025-07-10) #### ๐Ÿš€ Features - add `step()`/`smoothStep()` variations ([b433462](https://codeberg.org/thi.ng/umbrella/commit/b433462)) - add ITensor.crop() ([77e294d](https://codeberg.org/thi.ng/umbrella/commit/77e294d)) ## [0.7.0](https://codeberg.org/thi.ng/umbrella/src/tag/@thi.ng/tensors@0.7.0/packages/tensors) (2025-07-09) #### ๐Ÿš€ Features - add `integrate()` tensor op ([fe39a4a](https://codeberg.org/thi.ng/umbrella/commit/fe39a4a)) - add `TensorLike` and `asTensor()` ([f76d9a6](https://codeberg.org/thi.ng/umbrella/commit/f76d9a6)) #### โ™ป๏ธ Refactoring - migrate `asTensor()` to convert.ts ([fcb83c5](https://codeberg.org/thi.ng/umbrella/commit/fcb83c5)) #### ๐Ÿงช Tests - add tests ([ddfd69d](https://codeberg.org/thi.ng/umbrella/commit/ddfd69d)) ## [0.6.0](https://codeberg.org/thi.ng/umbrella/src/tag/@thi.ng/tensors@0.6.0/packages/tensors) (2025-06-05) #### ๐Ÿš€ Features - update defOpRT()/defOpRTT() ([8099abc](https://codeberg.org/thi.ng/umbrella/commit/8099abc)) - add optional `complete` fn to produce/transform final result (reducer like) - add mean() tensor op ([2f15d21](https://codeberg.org/thi.ng/umbrella/commit/2f15d21)) ## [0.5.0](https://codeberg.org/thi.ng/umbrella/src/tag/@thi.ng/tensors@0.5.0/packages/tensors) (2025-05-28) #### ๐Ÿš€ Features - add convolve() (1D/2D/3D versions) ([bc9a6eb](https://codeberg.org/thi.ng/umbrella/commit/bc9a6eb)) - add `constant()`, refactor `ones()` ([8cdd68c](https://codeberg.org/thi.ng/umbrella/commit/8cdd68c)) - add convolution kernel presets ([e553f06](https://codeberg.org/thi.ng/umbrella/commit/e553f06)) - add 1D/2D/3D sobel kernels - add 2D box blur - add 2D gaussian blur - add/update/rename convolution kernels ([025c7ba](https://codeberg.org/thi.ng/umbrella/commit/025c7ba)) - add `applyKernel()`, add/update kernel presets ([b8c2a7a](https://codeberg.org/thi.ng/umbrella/commit/b8c2a7a)) - add `fromFloatBuffer()` conversion ([d78a0d3](https://codeberg.org/thi.ng/umbrella/commit/d78a0d3)) ## [0.4.0](https://codeberg.org/thi.ng/umbrella/src/tag/@thi.ng/tensors@0.4.0/packages/tensors) (2025-05-12) #### ๐Ÿš€ Features - add release() handling for tensors ([da06312](https://codeberg.org/thi.ng/umbrella/commit/da06312)) - add data type support for range() options ([90d02bc](https://codeberg.org/thi.ng/umbrella/commit/90d02bc)) ## [0.3.0](https://codeberg.org/thi.ng/umbrella/src/tag/@thi.ng/tensors@0.3.0/packages/tensors) (2025-05-08) #### ๐Ÿš€ Features - add swap(), update defOpRT/TT() fns ([5d2dd2a](https://codeberg.org/thi.ng/umbrella/commit/5d2dd2a)) - add range() tensor factory ([a8a6365](https://codeberg.org/thi.ng/umbrella/commit/a8a6365)) - add ITensor.position() & impls ([595764d](https://codeberg.org/thi.ng/umbrella/commit/595764d)) - add filteredIndices() & presets ([edd8983](https://codeberg.org/thi.ng/umbrella/commit/edd8983)) - add nonZeroIndices() - add negativeIndices(), positiveIndices() #### ๐Ÿฉน Bug fixes - update ITensor.broadcast() return type ([f7b2e7a](https://codeberg.org/thi.ng/umbrella/commit/f7b2e7a)) #### โ™ป๏ธ Refactoring - update range() impl (w/o dependencies) ([ce89d71](https://codeberg.org/thi.ng/umbrella/commit/ce89d71)) ## [0.2.0](https://codeberg.org/thi.ng/umbrella/src/tag/@thi.ng/tensors@0.2.0/packages/tensors) (2025-05-02) #### ๐Ÿš€ Features - add `zeroes()`/`ones()` ([eb6f82d](https://codeberg.org/thi.ng/umbrella/commit/eb6f82d)) - add singular value decomp `svd()` ([8902157](https://codeberg.org/thi.ng/umbrella/commit/8902157)) - add `diagonal()` and `trace()` fns ([47a0e73](https://codeberg.org/thi.ng/umbrella/commit/47a0e73)) - add broadcast(), add ITensor.broadcast() ([b9b2dfc](https://codeberg.org/thi.ng/umbrella/commit/b9b2dfc)) - update all tensor ops & op generators ([47b3e4e](https://codeberg.org/thi.ng/umbrella/commit/47b3e4e)) - add broadcasting support where possible - update all `defOpXXX` HOF generators - replace & remove various `TensorOpXXX` function types - update all tensor ops, only keep one version per op - update doc strings #### ๐Ÿฉน Bug fixes - add missing `randDistrib4()` ([eb2ded2](https://codeberg.org/thi.ng/umbrella/commit/eb2ded2)) #### โ™ป๏ธ Refactoring - update internal local var handling in various tensor ops ([c02c2a6](https://codeberg.org/thi.ng/umbrella/commit/c02c2a6)) - internal updates dot(), identity(), select() ([c0ed334](https://codeberg.org/thi.ng/umbrella/commit/c0ed334)) - update top() return type ([dcab223](https://codeberg.org/thi.ng/umbrella/commit/dcab223)) ## [0.1.0](https://codeberg.org/thi.ng/umbrella/src/tag/@thi.ng/tensors@0.1.0/packages/tensors) (2025-04-30) #### ๐Ÿš€ Features - initial import (old code, needs update) ([dc4f2b4](https://codeberg.org/thi.ng/umbrella/commit/dc4f2b4)) - major updates & refactoring/cleanup ([49249a9](https://codeberg.org/thi.ng/umbrella/commit/49249a9)) - update & restructure defOpXX() fns ([a96ecf8](https://codeberg.org/thi.ng/umbrella/commit/a96ecf8)) - update TensorOpts and tensor factory fn, add docs ([21b8d48](https://codeberg.org/thi.ng/umbrella/commit/21b8d48)) - update/replace tensor op generators, add op types ([2a00949](https://codeberg.org/thi.ng/umbrella/commit/2a00949)) - add first set of common math ops ([00c02c1](https://codeberg.org/thi.ng/umbrella/commit/00c02c1)) - add matrix-vector multiply, add custom error type ([a005276](https://codeberg.org/thi.ng/umbrella/commit/a005276)) - add `identity()` factory fn ([1f2e914](https://codeberg.org/thi.ng/umbrella/commit/1f2e914)) - add defOpRT(), add product/sum reducers ([19b6a9a](https://codeberg.org/thi.ng/umbrella/commit/19b6a9a)) - add exp, log, softMax ops, update pkg exports ([465b0d2](https://codeberg.org/thi.ng/umbrella/commit/465b0d2)) - add various math ops ([9e385ad](https://codeberg.org/thi.ng/umbrella/commit/9e385ad)) - add/update various math ops, types, op factories ([a64468e](https://codeberg.org/thi.ng/umbrella/commit/a64468e)) - add select(), argMin, argMax() fns ([fa508e1](https://codeberg.org/thi.ng/umbrella/commit/fa508e1)) - add `print()` helper ([6c2e347](https://codeberg.org/thi.ng/umbrella/commit/6c2e347)) - rename existing fn => `debug()` - add softPlus() op ([1d85630](https://codeberg.org/thi.ng/umbrella/commit/1d85630)) - add 4D tensor support & ops ([e3c9a0f](https://codeberg.org/thi.ng/umbrella/commit/e3c9a0f)) - add exp2(), log2() ops ([18544a4](https://codeberg.org/thi.ng/umbrella/commit/18544a4)) - update tensor(), add tensorFromArray(), add types/generics ([204734d](https://codeberg.org/thi.ng/umbrella/commit/204734d)) #### ๐Ÿฉน Bug fixes - fix tensor scalar ops ([a26309d](https://codeberg.org/thi.ng/umbrella/commit/a26309d)) #### โ™ป๏ธ Refactoring - minor update mulM() ([8bec8d1](https://codeberg.org/thi.ng/umbrella/commit/8bec8d1)) - deduplicate tensor impls ([5fac485](https://codeberg.org/thi.ng/umbrella/commit/5fac485)) - minor internal update arg types ([be56f5a](https://codeberg.org/thi.ng/umbrella/commit/be56f5a))