版本 14.2 中的新功能和改进的功能概要

自 14.1 以来的主要新功能和改进的功能列表,包括 14.2 中实验性质的功能.

核心语言

打开所有单元 关闭所有单元

函数式编程 »

Failsafe 创建函数可以处理错误输入的版本

Discard delete elements not obeying a criterion function

Select (已更新) report positions of selected elements

AssociationComap create an association by applying a list of functions to a value

Groupings (已更新) construct groupings containing unary functions

Counts (已更新) specify the elements to count in the list

Order Functions »

MinimalBy (已更新), MaximalBy (已更新) new ordering function argument

TakeLargest  (已更新)   ▪  TakeSmallest  (已更新)   ▪  TakeLargestBy  (已更新)   ▪  TakeSmallestBy  (已更新) 

Evaluation Control »

HoldCompleteForm display an expression completely shielded from evaluation

ReleaseHold (已更新) support added for HoldCompleteForm

Parallel Computation

LaunchKernels (已更新) faster launching of kernels on multiple hosts

ParallelTable deep parallelization of nested tables

ParallelSelect  ▪  ParallelCases

表格处理

表格对象 »

Tabular column oriented tabular data with different types, missing values, etc.

ToTabular converting to Tabular with detailed control

TabularStructure  ▪  ColumnKeys  ▪  ColumnTypes

FromTabular  ▪  ColumnKeyExistsQ  ▪  TabularQ  ▪  TabularColumn  ▪  TabularColumnQ  ▪  TabularRow  ▪  TabularRowQ  ▪  TabularSchema

Part  (已更新)   ▪  Take  (已更新)   ▪  Drop  (已更新)   ▪  TakeDrop  (已更新)   ▪  Key  (已更新)   ▪  ExtendedKey  ▪  RowKey  ▪  KeyDrop  (已更新)   ▪  KeyTake  (已更新)   ▪  Select  (已更新)   ▪  Discard  ▪  TakeSmallestBy  (已更新)   ▪  TakeLargestBy  (已更新)   ▪  MaximalBy  (已更新)   ▪  MinimalBy  (已更新) 

表格数据源 »

Import (已更新) fast, scalable and robust import of tabular data

"CSV"  (已更新)   ▪  "XLSX"  (已更新)   ▪  "XLS"  (已更新)   ▪  "ODS"  (已更新)   ▪  "SXC"  (已更新)   ▪  "TSV"  (已更新)   ▪  "Table"  (已更新)   ▪  "Parquet"  ▪  "ArrowIPC"  ▪  "ORC"  ▪  "ArrowDataset"  ▪  "SAV"  (已更新)   ▪  "SAS7BDAT"  (已更新)   ▪  "DTA"  (已更新)   ▪  "POR"  (已更新)   ▪  "XPORT"  (已更新)   ▪  "RData"  (已更新)   ▪  "RDS"  (已更新)   ▪  "DIF"  (已更新) 

DataConnectionObject connection to data stores (with authentication, queries, etc.)

"AmazonS3"  ▪  "AzureBlobStorage"  ▪  "Dropbox"  ▪  "IPFS"

EntityValue (已更新) can now return Tabular objects for large-scale processing

EntityClass  (已更新)   ▪  EntityType  (已更新) 

DatabaseReference (已更新) relational databases can be used as out-of-core backends for Tabular

"SQLite"  ▪  "PostgreSQL"  ▪  "MySQL"  ▪  "MicrosoftSQL"  ▪  "Oracle"

ToMemory return an in-memory version of an out-of-core object

表格数据清理 »

TransformMissing handle missing values

TransformAnomalies handle outlier values

RenameColumns  ▪  CastColumns  ▪  DeleteColumns  ▪  InsertColumns

PivotToColumns spreading values from single columns into several columns

PivotFromColumns gathering values from several columns into one column

表格转换 »

TransformColumns compute columns from values in each row

ConstructColumns  ▪  SortBy  (已更新)   ▪  ReverseSortBy  (已更新)   ▪  NumericalSort  (已更新)   ▪  ...

AggregateRows simple or grouped aggregation

PivotTable compute a pivot table with multiple row and column pivots and aggregation

IncludeGroupAggregates

表格可视化 »

BarChart (已更新) plot values from a column as discrete bars

PieChart  (已更新)   ▪  BubbleChart  (已更新)   ▪  BarChart3D  (已更新)   ▪  PieChart3D  (已更新)   ▪  BubbleChart3D  (已更新)   ▪  RectangleChart  (已更新)   ▪  RectangleChart3D  (已更新)   ▪  SectorChart  (已更新)   ▪  SectorChart3D  (已更新)   ▪  PairedBarChart  (已更新)   ▪  TradingChart  (已更新) 

Histogram (已更新) show the distribution of values in a tabular column using discrete bars

SmoothHistogram (已更新) show the distribution of values in a tabular column as a smooth density

DateHistogram  (已更新)   ▪  DensityHistogram  (已更新)   ▪  BoxWhiskerChart  (已更新)   ▪  DistributionChart  (已更新)   ▪  QuantilePlot  (已更新)   ▪  PairwiseDensityHistogram  (已更新)   ▪  PairwiseSmoothDensityHistogram  (已更新)   ▪  PairwiseQuantilePlot  (已更新)   ▪  PairwiseProbabilityPlot  (已更新)   ▪  ...

ListPlot (已更新) plot columns from tabular data against each other

ListLinePlot  (已更新)   ▪  ListPlot3D  (已更新)   ▪  ListContourPlot  (已更新)   ▪  ListDensityPlot  (已更新)   ▪  ListPointPlot3D  (已更新)   ▪  ListLinePlot3D  (已更新)   ▪  ListStepPlot  (已更新)   ▪  StackedListPlot  (已更新)   ▪  ListLogPlot  (已更新)   ▪  ListContourPlot3D  (已更新)   ▪  ListDensityPlot3D  (已更新)   ▪  ListSliceContourPlot3D  (已更新)   ▪  ListSliceDensityPlot3D  (已更新)   ▪  DateListPlot  (已更新)   ▪  RadialAxisPlot  (已更新)   ▪  ParallelAxisPlot  (已更新)   ▪  PairwiseListPlot  (已更新)   ▪  ...

机器学习与神经网络 »

LLM 相关函数 »

LLMSynthesizeSubmit, ChatSubmit asynchronous LLM generation

ImageSynthesize (已更新) added support for LLMConfiguration

Tabular Support in Automated Machine Learning

Classify  (已更新)   ▪  Predict  (已更新)   ▪  ClassifierFunction  (已更新)   ▪  PredictorFunction  (已更新)   ▪  ClassifierMeasurements  (已更新)   ▪  PredictorMeasurements  (已更新)   ▪  ClusterClassify  (已更新)   ▪  FindClusters  (已更新)   ▪  LearnDistribution  (已更新)   ▪  FeatureExtraction  (已更新)   ▪  SynthesizeMissingValues  (已更新)   ▪  DimensionReduce  (已更新)   ▪  DimensionReduction  (已更新)   ▪  AnomalyDetection  (已更新)   ▪  FindAnomalies  (已更新)   ▪  FeatureSpacePlot  (已更新)   ▪  FeatureSpacePlot3D  (已更新)   ▪  FeatureImpactPlot  (已更新)   ▪  CumulativeFeatureImpactPlot  (已更新)   ▪  FeatureValueImpactPlot  (已更新)   ▪  FeatureValueDependencyPlot  (已更新) 

神经网络 »

NetTrain (已更新), NetMeasurements (已更新) added support for Tabular input

NetUnfold (已更新) added support for ReshapeLayer, FlattenLayer and ReplicateLayer

NormalizationLayer (已更新) added new normalization method

ReshapeLayer (已更新) added support for array-based shape specification

Game Theory

Matrix Games (aka Simultaneous Games, Normal Form Games)

MatrixGame represents a simultaneous game specified by payoff matrices or arrays

FindMatrixGameStrategies find Nash equilibria

MatrixGamePlot visualize matrix games and strategies

VerifyMatrixGameStrategy  ▪  MatrixGamePayoff

Tree Games (aka Sequential Games, Extensive Form Games)

TreeGame represents a sequential game specified by a game tree

FindTreeGameStrategies find subgame perfect equilibria (SPE)

TreeGamePlot visualize tree games and strategies

VerifyTreeGameStrategy  ▪  TreeGamePayoff

Game Options

GameActionLabels  ▪  GamePlayerLabels

Standard Games

GameTheoryData predefined standard games

数学计算

Symbolic Array Transformations

ArraySimplify simplify symbolic array expressions

ArrayExpand expand symbolic array expressions

ComponentExpand expand symbolic array expression into its component parts

Symbolic Arrays in Calculus

LineIntegrate (已更新), SurfaceIntegrate (已更新) integrate using symbolic vector variables

NLineIntegrate  (已更新)   ▪  NSurfaceIntegrate  (已更新) 

DSolve (已更新) solve differential equations with symbolic array variables

RSolve (已更新) solve difference equations with symbolic array variables

DSolveValue  (已更新)   ▪  RSolveValue  (已更新)   ▪  AsymptoticDSolveValue  (已更新)   ▪  AsymptoticRSolveValue  (已更新) 

傅里叶分析

FourierTransform (已更新) improved numerical evaluation and documentation

FourierCosTransform  (已更新)   ▪  FourierSinTransform  (已更新)   ▪  InverseFourierTransform  (已更新)   ▪  InverseFourierSinTransform  (已更新)    ▪  InverseFourierCosTransform  (已更新) 

离散微积分

SumConvergence (已更新) support for specifying the summation interval in the input

DigitCount (已更新) specify the total number of digits to count

天文与日期

Astronomical Events

FindAstroEvent find the instant of relevant astronomical events

"MarchEquinox"  ▪  "Conjunction"  ▪  "Periapsis"  ▪  "Appulse"  ▪  ...

MoonPhase (已更新) use different definitions of moon phases

NewMoon  (已更新)   ▪  FullMoon  (已更新)   ▪  MoonPhaseDate  (已更新) 

日期和时间

MidDate midpoint date of a granular date or list of dates

Updated biomolecular import formats:

Chemistry & Biochemistry

MoleculeMesh 3D boundary mesh representation of a molecule or biomolecule

"RCSBProteinDataBank" service connection to the RCSB Protein Data Bank

"ESMAtlas" service connection to the ESM Metagenomic Atlas, a database of protein structures predicted by ESMFold

"PDB" (已更新), "MMCIF" (已更新), "MMJSON" (已更新) added support for Molecule and BioMolecule

GPU 计算

数组

GPUArray store data in memory accessible for GPU accelerated computation

GPUArrayQ  ▪  Normal  ▪  ArrayQ  ▪  VectorQ  ▪  MatrixQ  ▪  ArrayDepth  ▪  Dimensions  ▪  Length  ▪  Part  ▪  First  ▪  Last  ▪  ByteCount

线性代数

Dot matrix operations

Transpose  ▪  ConjugateTranspose  ▪  Diagonal  ▪  Tr

LinearSolve solve linear systems

离散傅里叶分析

Fourier find the discrete Fourier transform

InverseFourier find the discrete inverse Fourier transform

Random Number Generation

SeedRandom use the GPUArrayRandom method for pseudorandom number generation

RandomInteger  ▪  RandomReal  ▪  RandomComplex

统计学

Mean descriptive statistics

GeometricMean  ▪  Variance  ▪  Skewness  ▪  StandardDeviation  ▪  RootMeanSquare  ▪  Kurtosis

Sort order statistics

Min  ▪  Max  ▪  MinMax  ▪  Ordering

数学函数

Plus, Times arithmetic functions

Subtract  ▪  Divide  ▪  Total  ▪  Mean  ▪  Accumulate  ▪  Differences  ▪  Ratios

Sin, Cos trigonometric functions

Tan  ▪  ArcSin  ▪  ArcCos  ▪  ArcTan

Exp, Log transcendental functions

Log2  ▪  Log10  ▪  Power  ▪  Sqrt  ▪  CubeRoot

Sinh, Cosh hyperbolic functions

Tanh  ▪  Csch  ▪  Sech  ▪  Coth  ▪  ArcSinh  ▪  ArcCosh  ▪  ArcTanh

Ceiling, Floor integer functions

Round  ▪  IntegerPart  ▪  FractionalPart

Abs, Sign absolute values and signs

RealAbs  ▪  RealSign  ▪  Re  ▪  Im  ▪  Arg  ▪  Conjugate

几何

几何计算 »

JoinedCurve (已更新), FilledCurve (已更新) now geometric regions

RegionQ  (已更新)   ▪  RegionDimension  (已更新)   ▪  RegionEmbeddingDimension  (已更新)   ▪  ArcLength  (已更新)   ▪  RegionMember  (已更新)   ▪  RegionDistance  (已更新)   ▪  BoundingRegion  (已更新)   ▪  RandomPoint  (已更新)   ▪  ...

Constructive Solid Geometry Modeling »

CSGRegion (已更新) now support annotations

Annotation  (已更新)   ▪  Annotate  (已更新)   ▪  AnnotationKeys  (已更新)   ▪  AnnotationValue  (已更新)   ▪  AnnotationDelete  (已更新)   ▪  AnnotationRules  (已更新)   ▪  Style  (已更新) 

图与网络

Graph Drawing

"SymmetricLayeredEmbedding" place vertices symmetrically on parallel lines

"Rotation" rotation option for graph embeddings

"BipartiteEmbedding"  (已更新)   ▪  "CircularEmbedding"  (已更新)   ▪  "CircularMultipartiteEmbedding"  (已更新)   ▪  "DiscreteSpiralEmbedding"  (已更新)   ▪  "GridEmbedding"  (已更新)   ▪  "LinearEmbedding"  (已更新)   ▪  "MultipartiteEmbedding"  (已更新)   ▪  "SpiralEmbedding"  (已更新)   ▪  "StarEmbedding"  (已更新)   ▪  "BalloonEmbedding"  (已更新)   ▪  "RadialEmbedding"  (已更新)   ▪  "LayeredDigraphEmbedding"  (已更新)   ▪  "LayeredEmbedding"  (已更新)   ▪  "GravityEmbedding"  (已更新)   ▪  "HighDimensionalEmbedding"  (已更新)   ▪  "PlanarEmbedding"  (已更新)   ▪  "SpectralEmbedding"  (已更新)   ▪  "SphericalEmbedding"  (已更新)   ▪  "SymmetricLayeredEmbedding"  (已更新)   ▪  "TutteEmbedding"  (已更新) 

视频, 图像与音频计算

视频处理與分析 »

VideoObjectTracking detect and track objects in a video

ObjectTrackingData an object storing the tracked object information

HighlightVideo highlight objects in a video

现在图像函数也支持视频

BarcodeRecognize  (已更新)   ▪  TextRecognize  (已更新)   ▪  FindFaces  (已更新)   ▪  ImageCases  (已更新)   ▪  ImageBoundingBoxes  (已更新)   ▪  ImagePosition  (已更新)   ▪  ImageContents  (已更新)   ▪  ImageContainsQ  (已更新)   ▪  FindImageShapes  (已更新)   ▪  FindImageText  (已更新)   ▪  ImageCorners  (已更新)   ▪  ImageKeypoints  (已更新)   ▪  ImageLines  (已更新)   ▪  ImageSegmentationComponents  (已更新)   ▪  MorphologicalComponents  (已更新)   ▪  WatershedComponents  (已更新)   ▪  ImageForestingComponents  (已更新) 

视频编辑 »

VideoJoin (已更新) now supports still images

VideoCombine (已更新) now supports subtitle options as well as combining still images

VideoTranscribe (已更新) now accepts the Language and subtitle options

SubtitleStyle specify style for created subtitle tracks

ShowSubtitles specify whether to display the subtitles

视频对象

Video (已更新) adding support for in-notebook storage of the videos as well as subtitle options

PDE 建模 »

电磁学 »

MagnetostaticPDEComponent model magnetostatics without currents

MagneticPDEComponent model quasistatic magnetic fields with currents

ElectricCurrentPDEComponent (已更新) updated model electric currents

ElectrostaticPDEComponent (已更新) updated electrostatic systems

MagneticFluxDensityValue  ▪  MagneticPotentialCondition  ▪  MagneticSymmetryValue

Electromagnetics Overview (updated) overview monograph about modeling electromagnetics

Magnetostatics for Permanent Magnets monograph about modeling permanent magnets

Quasistatic Magnetic Fields monograph about modeling quasistatic magnetic fields

固体力学 »

SolidMechanicsPDEComponent (已更新) support for extended plane strain and stress

SolidMechanicsStrain (已更新) support for extended plane strain and stress

SolidMechanicsStress (已更新) support for extended plane strain and stress

PDE 应用模型 »

"Inductive Heating"  ▪  "Cerebral Aneurysm"  (已更新) 

导入与导出 »

表格格式 »

"CSV" (已更新), "TSV" (已更新), "Table" (已更新) now support Tabular; significant speed improvements

"Parquet" Apache Parquet format

"ORC" Optimized Row Columnar data format

"ArrowIPC" Arrow IPC columnar data format

"ArrowDataset" multi-file columnar data format

"XLS"  (已更新)   ▪  "XLSX"  (已更新)   ▪  "RData"  (已更新)   ▪  "RDS"  (已更新)   ▪  "SAS7BDAT"  (已更新)   ▪  "XPORT"  (已更新)   ▪  "DTA"  (已更新)   ▪  "SAV"  (已更新)   ▪  "POR"  (已更新)   ▪  "DIF"  (已更新)   ▪  "ODS"  (已更新)   ▪  "SXC"  (已更新) 

Data Connections

DataConnectionObject establish a connection to services such as Amazon S3 and Azure

Document Formats »

"Markdown" import Markdown as plaintext

"PDF" (已更新) import text and images as a mixed list

XML 格式 »

"XML" (已更新) more bug fixing, especially in Export

"ExpressionML" (已更新) backend update that gives significant speed improvement and bug fixes

笔记本

File New Notebook (已更新) default new notebooks now support all chat-style cells

LabeledGraphicsBox is a low-level construct that represents a graphics box with a label attached to it

ThemeColor represents a color setting from a light/dark-aware notebook rendering theme

LightDark  ▪  LightDarkSwitched

SelectionMove (已更新) now supports a list of cell objects

NotebookCellData (已更新) add elements for serialized cell expression information