Login  |  Packages  |  Support  |  Bugs
PECL is deprecated.

Have you heard about PIE? 🥧 PHP Installer for Extensions (PIE) is the replacement for PECL. We recommend publishing your extension using PIE instead.

Find out more at https://github.com/php/pie.

Return

Changelog for Tensor
Release What has changed?
3.1.0 - Implemented the singular value decomposition (SVD) in the pure-PHP library
- Implemented the Moore-Penrose pseudoinverse in the pure-PHP library via SVD
- Implemented the eigendecomposition in the pure-PHP library
3.0.11 - Update to Zephir 1.5.0
- Fixed RREF/REF pivot float tolerance
- RREF now zeroes the tail if below EPSILON
- `rank()`, `fullRank()`, and `inverse()` are now consistent
- Matrix::inverse() now throws a RuntimeException on singular input
- Matrix::inverse() now throws an InvalidArgumentException on non-square input
- Fix Poisson distribution when lambda is zero
- Added square check to inverse()
- Cholesky decompose() now throws a RuntimeException on non-positive-definite input
- Added the SingularMatrix exception
- The extension now reduces singular matrices to REF and RREF instead of throwing
3.0.10 - Update to Zephir 0.23, adds support for PHP 8.5
- Fixed Matrix and Vector build() validation
- Fixed bug in Matrix row variance
- Fixed LU decomposition pivot selection, singular matrices now throw a RuntimeException
- Fixed undefined array key in Vector and Matrix quantile at q=1.0 or with a single element
- Fix extension rank() operation
- Fixed reduce() callback argument order inconsistency between Matrix and Vector
- Fix covariance() summation axis
- Fixed Vector notEqualMatrix throwing InvalidArgumentException instead of DimensionalityMismatch
- Fixed memory leak in the extension on the failure path of inverse, pseudoinverse
3.0.9 - Update to Zephir 0.19.0, adds support for PHP 8.4
3.0.8 - Update to Zephir 0.19.0, adds support for PHP 8.4
3.0.7 - Change min PHP version to 8.0.0
3.0.6 - Update Zephir to 0.18
3.0.5 - Update Zephir to 0.17
3.0.4 - Miscellaneous fixes
3.0.3 - Added PHP 8.2 extension compatibility
3.0.2 - Added PHP 8.1 extension compatibility
3.0.00 - No changes
2.2.3 - Remove dependency on pthreads
3.0.0 - Extension now compatible with PHP 7.4 and 8.0+
- Drop extension support for PHP 7.2 and 7.3
- Tensors only compute floating point operations
- Matrix returns vector on row access
- Removed deprecated methods
2.2.1 - Optimize 2D convolution operation
- Fix and optimize vector convolve 1D operation
2.2.0 - Implemented Singular Value Decomposition (SVD)
- Implemented matrix (Moore-Penrose) pseudoinverse
- Tensor objects now throw namespaced exceptions
- Optimized Reduced Row Echelon Form (RREF)
- Optimize eigendecomposition for symmetric matrices
2.1.4 - Implemented Eigen decomposition in extension
- Optimize row echelon form (REF) of matrix
- Optimize Cholesky decomposition
- Fix memory leak in matrix inverse
- Optimize LU decomposition
2.1.03 No notes
2.1.3 No notes

Return

PRIVACY POLICY  |  CREDITS
Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Jun 17 13:08:36 2026 UTC
Bandwidth and hardware provided by: pair Networks