Releases
Changelog
All notable changes to @cyfora/numera. NumPy coverage figures count the public NumPy 2.5.3 names that numera tracks. The NumPy name index of each version lists them.
1.0.3#
Documentation-only release. The API is unchanged from 1.0.2.
- Rewritten README with the Cyfora logo, and a shorter README for npm.
- New
CONTRIBUTING.md.
1.0.2#
Coverage went from 15% to 99.1% of the tracked NumPy API (from 158 to 1045 of 1054 names).
Universal functions#
- All NumPy ufunc options:
out,where,dtype,castingandorder. - Ufunc methods:
reduce,accumulate,reduceat,outerandat. seterr,geterranderrstate, with real floating-point exception flags (RuntimeWarningorFloatingPointError).- Trigonometric, hyperbolic, exponential/logarithmic, rounding, float-bit (
frexp,ldexp,nextafter, …),gcd/lcm,divmod/modf, comparison, logical and bitwise ufuncs, and more. The new total is 106 ufunc names.
Arrays#
- Casting rules and
canCast;astypewithcasting,copyandorder. finfo,iinfo,resultType,minScalarType,issubdtype,isdtypeand the abstract dtype hierarchy.- NumPy-style printing:
toString()is nowrepr;array2string,arrayRepr,arrayStrand print options. - Memory order (
C/F/A/K) for creation, copy, reshape and ravel. NDArraymethodsfill,tolist,tobytes,view,byteswap,setflags,base,mT,flat,round,resize,repeat,dot,tofile;ndindex,ndenumerateandnditer.
Routines#
- Array creation:
logspace,geomspace,tri*,diag*,vander,meshgrid/mgrid/ogrid,from*,r_/c_/s_. - Shape manipulation:
concatenate/stack/block/splitfamilies,tile,repeat,pad(every mode),flip,roll,rot90,append/insert/delete,applyAlongAxisand more. - Indexing routines:
take/put(withAlongAxisvariants),choose,compress,select,piecewise,argwhere,ravelMultiIndex/unravelIndex, … - Sorting, searching,
uniqueand set operations. - Statistics:
quantile,percentile,median,average,cov,corrcoef,histogram*,bincount,correlate,convolve,gradient,trapezoid, everynan*reduction, andwhere=/out=on reductions. - Linear algebra:
cholesky,slogdet,pinv,matrixRank,cond,matrixPower,einsum,tensordot,kron,cross,vecdot,multiDotand more, plus complex support acrossnp.linalg. - FFT:
out=for every transform,hfft/ihfft,rfft2/rfftnand their inverses,fftshift/ifftshift. - Random: all bit generators (
PCG64,PCG64DXSM,MT19937,Philox,SFC64,SeedSequence), everyGeneratorandRandomStatedistribution exceptmultivariate_normal, and flatnp.random.*functions. - File I/O:
.npy/.npz(save,load,savez,savezCompressed),loadtxt,savetxt,genfromtxt,fromregex,fromfile. - New modules:
np.ma(masked arrays),np.stringsandnp.char,np.rec,np.emath,np.polynomial(all six series classes), legacypoly1dandnp.poly*,np.testing, anddatetime64/timedelta64with the business-day functions.
Fixes#
- Linux/GCC 13 portability fixes in the native core.
- Node 18: OS entropy for random seeding now uses
node:crypto.
1.0.1#
- First public release under the
@cyfora/numeraname, with the API reference shipped inside the package. - n-dimensional arrays with 14 numeric dtypes, NumPy dtype inference and promotion, views and strides.
- Element-wise arithmetic, comparisons,
sqrt/exp/log/absand other basic ufuncs with broadcasting. - Reductions (
sum,prod,mean,var,std,min,max,argmin,argmax) withaxisandkeepdims. - Indexing with
get,sliceandset. np.linalg(matmul,det,inv,solve,eig,eigh,svd,qr,lstsq,norm),np.fftandnp.randomwith NumPy-identical streams.- Prebuilt binaries for macOS and Linux on x64 and arm64.