scidart 0.1.1
scidart: ^0.1.1 copied to clipboard
Cross-platform scientific library for Dart. The main goal of SciDart is run where Dart can run, in other words, run on Flutter, Dart CLI, Dart web, etc.
0.1.1 #
Fixes:
randomArray2d(rows, columns)returnsrowsrows ofcolumnsvalues; it had rows and columns swappedfftwithnlarger than the input appends the zeros at the end, likenumpy.fft.fft; they were added at the start, which changed the phase of the result.rfftgets the same fixtoStringofArrayandComplexno longer starts with a line break, as their documentation shows.ArrayComplexprints on one line, andArray2dandArray3dprint one row per line without trailing spaces
Docs:
- API documentation builds without warnings (unresolved references in doc comments)
- The scidart.org site is rebuilt after each release
0.1.0 #
New:
NormalDistributioninstats:pdf,logPdf,cdf,sf,ppf,isf,interval,sampleand Array versions, likescipy.stats.norm(#44)erf,erfc,arrayErfandarrayErfcinspecialrootScalarinoptimizewith thebisect,brentq,newtonandsecantmethods, likescipy.optimize.root_scalar(#56)rootinoptimizefor systems of equations with thelm(Levenberg-Marquardt),newtonandbroyden1methods, returning anOptimizeResult, likescipy.optimize.root(#56)PolyFitMultivariate: polynomial regression with several features and outputs, with interaction terms in the order ofsklearn.preprocessing.PolynomialFeatures; uses the minimum norm solution when there are more terms than samples (#55)
0.0.3 #
Breaking changes:
rifftfollowsnumpy.fft.irfft: the output length is2 * (x.length - 1)by default and the newnargument sets it. Passnwith the original length to recover signals of odd length (#47)rifftreturns the real part of the inverse FFT instead of the absolute value (#47)==ofArray,Array2d,ArrayComplexandComplexreturnsfalsefor other types and lengths instead of throwing, andhashCodeis consistent with==- The minimum Dart SDK is 3.0.0
Fixes:
PolyFitno longer loops forever withInfinityorNaNvalues, it throwsFormatException(#65)PolyFitreduces the degree correctly when there are not enough distinctxvalues and scales the Vandermonde matrix like numpy with an overflow-safe norm, fixing wrong fits and negative R² (#37, #58). A degree larger thanx.length - 1, or one whose powers ofxoverflow, is reducedQRuses the stable Householder sign again and matches the numpy signs;QR.isFullRankaccepts atoleranceSVDthrowsFormatExceptionfor non-finite values instead of looping forevermedianno longer sorts the caller's array (#59)firwinacceptspass_zeroas'lowpass','highpass','bandpass'and'bandstop'(#63 by j4ger)simpsArraywith an even number of samples and noxusesdxinstead of failingtruncateworks with values larger than 2^63
New:
multimodereturns all the most frequent values (#62)
Maintenance:
- Lints from
package:lintsreplace the discontinuedpedantic - CI runs on Linux, macOS, Windows and Chrome, with the minimum and the stable SDK
- Publishing to pub.dev uses automated publishing (OIDC) when a
v*tag is pushed
0.0.2-dev.13 #
- Sort array before median calculation (#59 Closed)
0.0.2-dev.12 #
- Add operation created for Array2d (#48 Closed)
0.0.2-dev.11 #
- Enhance complex concat (#49 Closed)
0.0.2-dev.10 #
- PR #46 by myConsciousness merged (unnecessary imports removed and YML update)
0.0.2-dev.9 #
arangemoved to deprecated and replaced bycreateArrayRange, #39 closed- some typos fixed
0.0.2-dev.8 #
- Issue Infinite loop, memory exhausted with PolyFit(x, y, degree) #37, solved
- some typos fixed
0.0.2-dev.7 #
- Typos in the Source Code
0.0.2-dev.6 #
- Performance improvements for Array.add
0.0.2-dev.5 #
- Array2d.fromArray is not deep copying the arrays in the list of arrays #31
- subArray2d and getColumn new methods
0.0.2-dev.4 #
- singular value decomposition for matrix m != n (SVD)
- SVD bug to get U, V and S matrix fixed
- pseudo inverse matrix using Moore–Penrose (matrixPseudoInverse)
- new tests cases with matrix m != n
- new tests cases for SVD with matrix m != n
- matrixSub limit index added to avoid break
- array2dInverseOfEachElement bug for elements equal 0 fixed, just keep it 0
0.0.2-dev.3 #
- new array2d operations: array2dInverseOfEachElement, array2dPow
0.0.2-dev.2 #
- new array2d operations created: array2dAddToScalar, array2dDivisionToScalar, array2dMultiplyToScalar, array2dSubToScalar
- new array operation created: arrayAddToScalar
- new tests created for array and array2d operations
0.0.2-dev.1 #
- Null safety added to the package
- FFT bug to big power of 2 arrays fixed
- complexExp function created to calculate complex number natural exponent
- arrayConcat changed to concatenate N arrays
0.0.1-dev.12 #
- PR #22 merged: Remove unused dart: imports
0.0.1-dev.11 #
- Even and Odd number double check created;
- cross correlation for real and complex signals created;
- dartfmt applied in the code;
0.0.1-dev.10 #
- Even and Odd number int check created;
- matrix transpose bug fixed;
- classes documentations improved;
0.0.1-dev.9 #
- PolyFit issue #16;
- Dart lint warning fixed;
0.0.1-dev.8 #
- Logo url update.
0.0.1-dev.7 #
- License changed and documentation updates.
0.0.1-dev.6 #
- bug correction issue: https://github.com/scidart/scidart/issues/7 .
0.0.1-dev.5 #
- pubspec homepage updated.
0.0.1-dev.4 #
- README examples updated.
0.0.1-dev.3 #
- IO migrated to scidart_io.
0.0.1-dev.2 #
- Readme file updated.
0.0.1-dev.1 #
- NumDart, SciDart and IO fundamentals implemented and documented.