![]() |
NumCpp
2.8.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
|
inv when a zero was on the diagnol for Issue #132bit_count, Computes the number of 1-bits in the absolute value of the inputswapRows and swapCols methods to NdArray, and also free functionspinv, https://numpy.org/doc/stable/reference/generated/numpy.linalg.pinv.htmltake for Issue #149, https://numpy.org/doc/stable/reference/generated/numpy.take.htmlrandom interfaceimageProcessing::Centroidsbartlett, https://numpy.org/doc/stable/reference/generated/numpy.bartlett.htmlblackman, https://numpy.org/doc/stable/reference/generated/numpy.blackman.htmlcorrcoef, https://numpy.org/doc/stable/reference/generated/numpy.corrcoef.htmlcov, https://numpy.org/doc/stable/reference/generated/numpy.cov.htmlcov_inv, the inverse covariance matrix, aka the concentration matrixextract, https://numpy.org/doc/stable/reference/generated/numpy.extract.htmlgeomspace, https://numpy.org/doc/stable/reference/generated/numpy.geomspace.htmlhamming, https://numpy.org/doc/stable/reference/generated/numpy.hamming.htmlhanning, https://numpy.org/doc/stable/reference/generated/numpy.hanning.htmlinner, https://numpy.org/doc/stable/reference/generated/numpy.inner.htmlisneginf, https://numpy.org/doc/stable/reference/generated/numpy.isneginf.htmlisposinf, https://numpy.org/doc/stable/reference/generated/numpy.isposinf.htmlkaiser, https://numpy.org/doc/stable/reference/generated/numpy.kaiser.htmllogb, logarithm of with an arbitrary base blogspace, https://numpy.org/doc/stable/reference/generated/numpy.logspace.htmlnth_root, the nth root of a valueplace, https://numpy.org/doc/stable/reference/generated/numpy.place.htmlselect function, https://numpy.org/doc/stable/reference/generated/numpy.select.htmlfmod and the modulus % operator now work with float dtypesencode and decode functions, https://en.wikipedia.org/wiki/Hamming_codetofile and fromfile will now work for generic struct dtypesfromfile methodlinalg::solveinterp function consistent with NumPy when passing in non-sorted dataNdArray slice overloadsNO_MULTITHREAD compiler flag and replaced with NUMCPP_USE_MULTITHREAD so that single threaded is now the defaultNO_USE_BOOST compiler flag to NUMCPP_NO_USE_BOOSTINCLUDE_BOOST_PYTHON_INTERFACE compiler flat to NUMCPP_INCLUDE_BOOST_PYTHON_INTERFACEINCLUDE_PYBIND_PYTHON_INTERFACE compiler flag to NUMCPP_INCLUDE_PYBIND_PYTHON_INTERFACEpercentile and nanpercentileisLittleEndianNO_USE_BOOST definition to remove the Boost libraries as a dependency, with reduced functionality:gcd with a pair of values (still available using a C++17 compliant compiler)gcd arraylcm with a pair of values (still available using a C++17 compliant compiler)lcm arraypolynomial::chebyshev_tpolynomial::chebyshev_upolynomial::hermite (still available using a C++17 compliant compiler)polynomial::laguerre (still available using a C++17 compliant compiler)polynomial::legendre_p (still available using a C++17 compliant compiler)polynomial::legendre_qpolynomial::spherical_harmonicrandom::betarandom::laplacerandom::nonCentralChiSquaredrandom::trianglerandom::uniformOnSpherespecial::airy_aispecial::airy_ai_primespecial::airy_bispecial::airy_bi_primespecial::bernoullispecial::bessel_in (still available using a C++17 compliant compiler)special::bessel_in_primespecial::bessel_jn (still available using a C++17 compliant compiler)special::bessel_jn_primespecial::bessel_kn (still available using a C++17 compliant compiler)special::bessel_kn_primespecial::bessel_yn (still available using a C++17 compliant compiler)special::bessel_yn_primespecial::beta (still available using a C++17 compliant compiler)special::cyclic_hankel_1special::cyclic_hankel_2special::digammaspecial::erfspecial::erf_invspecial::erfcspecial::erfc_invspecial::gammaspecial::gamma1pm1special::log_gammaspecial::polygammaspecial::primespecial::riemann_zeta (still available using a C++17 compliant compiler)special::spherical_bessel_jn (still available using a C++17 compliant compiler)special::spherical_bessel_yn (still available using a C++17 compliant compiler)special::spherical_hankel_1special::spherical_hankel_2special::trigammareplace option into random::choicenan_to_num functionspecial namespace (requires either Boost or C++17 compliant compiler)special namespace (requires either Boost or C++17 compliant compiler)NO_MULTITHREAD compile definition to turn off algorithm multithreading from compliant compilershistogram() functionDataCube class where() overloads to match NumPy functionality std::complex<T>, closing Issue #58NdArray constructors for STL containers including std::vector<std::vector<T>>, closing Issue #59polyfit routine inline with Numpy polyfit, closing Issue #61NdArray as container for generic structslu_decomposition and pivotLU_decomposition added to Linalg namespaceNdArrayiteratorconst_iteratorreverse_iteratorconst_reverse_iteratorcolumn_iteratorconst_column_iteratorreverse_column_iteratorconst_reverse_column_iteratorrodriguesRotation and wahbasProblem to Rotations namespace