Skip to content

pracma

Practical Numerical Math Functions

v2.4.6 · Oct 22, 2025 · GPL (>= 3)

Description

Provides a large number of functions from numerical analysis and linear algebra, numerical optimization, differential equations, time series, plus some well-known special mathematical functions. Uses 'MATLAB' function names where appropriate to simplify porting.

Downloads

93K

Last 30 days

366th

272.1K

Last 90 days

1.1M

Last year

Trend: +4.7% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 30, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 10, 2026
ERROR r-devel-macos-arm64

examples

Running examples in ‘pracma-Ex.R’ failed
The error most likely occurred in:

> ### Name: eig
> ### Title: Eigenvalue Function (Matlab Style)
> ### Aliases: eig
> ### Keywords: array
> 
> ### ** Examples
> 
>   eig(matrix(c(1,-1,-1,1), 2, 2))   #=> 2 
...[truncated]...
,1i,-1i,0), 2, 2))  # real values

 *** caught segfault ***
address 0x1, cause 'invalid permissions'

Traceback:
 1: eigen(a, only.values = TRUE)
 2: eig(matrix(c(0, 0+1i, -(0+1i), 0), 2, 2))
An irrecoverable exception occurred. R is aborting now ...

Reverse Dependencies (442)

imports

AVGAS AdapSamp AdaptGauss AmoudSurv AvInertia BFpack BIDistances BINCOR BMRMM BTWAR CASCORE CBAModel CFM CMTFtoolbox CRABS CircaCP ClaimsProblems Clustering CoSMoS CompClassMetrics CondIndTests ConsRankClass CopulaCenR CovTools CoxAIPW CoxBcv DAISIE DChaos DRAYL DRsurvCRT DanielBiostatistics10th DataVisualizations DeBoinR DiSCos DiscreteDists DistributionOptimization EBCHS EMSC ERPeq EncompassTest ExGaussEstim ExtremeRisks FCVAR FDX FamEvent FedIRT FitDynMix FluxPoint ForestFit GCEstim GENMETA GEint GRIDCOPULA GUILDS GWpcor GeoModels GramQuad GregoryQuadrature HDANOVA HDRFA Hmsc HonestDiD IALS IRISMustangMetrics IRISSeismic JSparO KFPCA KGode LLMing LMoFit LOMAR LSE LSVAR MCARtest MECfda MEPDF MIDASim MIRES MLCOPULA MMLR MOsemiind MSTest MVNGmod MVSKmod MaOEA MarZIC MatrixCorrelation MaxIntTools MicrobTiSDA MixSemiRob MortalityTables MultiATSM MultiKink MultiLevelOptimalBayes NAC NPLStoolbox NetworkDistance OpeNoise PCRedux PDEnaiveBayes PEIP PFIM PH1XBAR PJFM PKbioanalysis POCRE PPMiss PSDistr PScr PoA R2Addhaz RBE3 RCT RMCDA RMLPCA RMT4DS ROCsurf RSizeBiased Radviz Raquifer RchivalTag RegCombin RespirAnalyzer RiemBase RtsEva SADISA SCORNET SDLfilter SFPL SHT SMDIC SOMnmR ScatterDensity SeaSondeR SensIAT SpatialGraph SyScSelection TCA TCIU TRES TensorClustering TensorPreAve TesiproV TestGardener TimeTraits TrendInTrend Unico VBMS VBphenoR VBsparsePCA WCM abglasso actilifecounts actuary adace adept admix aedseo ahnr airt albatross appRiori aramappings ashapesampler asm batteryreduction bayesQRsurvey bccp bigmds bikm1 binfunest binsmooth bioSNR biometryassist bndovb bootCT bqror carfima cauphy ccar3 ccrtm cdfquantreg cdnbcr celltrackR centrifugeR cgmanalysis cholera ciuupi ciuupi2 complex complexlm conf control cooltools copre cpop crandep crqa ctmm dacc digiRhythm dobin docore dpcR drcarlate dvmisc dwp ePCR eemR eventstudyr evoTS extrafrail fHMM factormodel fdaACF fdaSP fdapace fdarep findGSEP fishmechr fitConic fitdistcp flippant fluspect fmrihrf fmriqa frechet gallery garma gasmodel gemR gen5helper genSEIR gentransmuted geodiv gluvarpro gmvjoint gofIG greybox gsMeanFreq gsignal hwep hySAINT hydraulics hypr imagefluency impactr inctools invivoPKfit jage klovan ks l1rotation lactater lavacreg less likelihoodAsy lillies logKDE lomb lspartition ltmix maotai mfpp microsynth mixlm mnt modelSelection mombf mosqcontrol mousetrap multIntTestFunc multiDoE multiblock multilevLCA multiobjectiveMDP musicMCT mutSignatures mvDFA netcom neutralitytestr nev new.dist nimble nimbleQuad nn2poly nomogramEx nvctr nvmix opdisDownsampling optimizeR optimx oreo orthoDr pCODE pGPx parafac4microbiome phase porridge poweRlaw powerSurvEpi ppweibull pql pressuRe primarycensored pvaluefunctions randnet raptools ravetools rbbnp rbcc rcaiman reddPrec ref.ICAR refreg resourcecode rgl.cry robcat robcp robust2sls robustbetareg rocbc roclab rospca rrcov3way rregm rticulate samplr sampsizeval sazedR scov sdrt semds sglg shattering shinyNORRRM simode sindyr skedastic skewunit slanter smooth snSMART soundecology spant ssmodels staRdom stabilo stepdownfdp stochLAB stodom stoppingrule survivalsvm tacmagic tagtools tensorTS tensorregress tepr tf tidyrhrv tpn trace treefit ucie ugomquantreg univariateML vecsets visualFields visvow vmeasur voigt workloopR x3ptools zeitgebr

Dependency Network

Dependencies Reverse dependencies CommonMean.Copula FAS GORCure GRCRegression ICGOR MAZE NonParRolCor OBRE PanelTM RVCompare ReDirection RolWinMulCor RpeakChrom TapeR Tex4exams +427 more reverse deps pracma

Version History

new 2.4.6 Mar 10, 2026
updated 2.4.6 ← 2.4.4 diff Oct 21, 2025
updated 2.4.4 ← 2.4.2 diff Nov 9, 2023
updated 2.4.2 ← 2.3.8 diff Sep 21, 2022
updated 2.3.8 ← 2.3.6 diff Mar 3, 2022
updated 2.3.6 ← 2.3.3 diff Dec 6, 2021
updated 2.3.3 ← 2.2.9 diff Jan 22, 2021
updated 2.2.9 ← 2.2.5 diff Dec 14, 2019
updated 2.2.5 ← 2.2.2 diff Apr 8, 2019
updated 2.2.2 ← 2.1.8 diff Dec 1, 2018
updated 2.1.8 ← 2.1.5 diff Oct 15, 2018
updated 2.1.5 ← 2.1.4 diff Aug 25, 2018
updated 2.1.4 ← 2.1.1 diff Jan 29, 2018
updated 2.1.1 ← 2.0.7 diff Nov 20, 2017
updated 2.0.7 ← 2.0.4 diff Jun 20, 2017
updated 2.0.4 ← 1.9.9 diff Apr 2, 2017
updated 1.9.9 ← 1.9.5 diff Jan 10, 2017
updated 1.9.5 ← 1.9.3 diff Sep 5, 2016
updated 1.9.3 ← 1.8.8 diff May 28, 2016
updated 1.8.8 ← 1.8.6 diff Nov 26, 2015