Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

FormulaTransformEngine

Guides

  • FormulaTransformEngine
  • Authoring .ftr.md Rules
  • FormulaTransformEngine
  • Formula Transform Workflow

Symbols

  • AddFormulaTransformRegistryPath
  • ApplyFormulaTransform
  • CompileFormulaHeuristicRule
  • CompileFormulaObligationDischarger
  • CompileFormulaStructuralTransform
  • CompileFormulaTargetPlanner
  • CompileFormulaTransformRule
  • FormulaTransformHandleRequest
  • FTMatchAlgebraicStructure
  • FTSolveParameters
  • GetFormulaTransformObligations
  • InspectFormulaTransformRegistry
  • PlanFormulaTransform
  • PlanFormulaTransformParts
  • ReloadFormulaTransformRegistry
  • AddFormulaTransformRegistryPath
  • AEMeasurable
  • AlmostEverywhere
  • ApplyFormulaTransform
  • Boundaryless
  • BoundaryPairing
  • BoundaryValue
  • CheckFormulaTransformEquivalence
  • CompileFormulaHeuristicRule
  • CompileFormulaObligationDischarger
  • CompileFormulaStructuralTransform
  • CompileFormulaTargetPlanner
  • CompileFormulaTransformFamily
  • CompileFormulaTransformMonotonicityDescriptor
  • CompileFormulaTransformRule
  • CompileFormulaTransformSource
  • Convolution
  • CountingMeasure
  • CreateFormulaTransformCertificate
  • CreateFormulaTransformContext
  • CreateFormulaTransformRegistry
  • DiscreteConvolution
  • EuclideanMeasure
  • FindFormulaTransforms
  • FormulaTransformHandleRequest
  • FormulaTransform
  • FormulaTransformSteps
  • FTMatchAlgebraicStructure
  • FTSolveParameters
  • GetFormulaTransformObligations
  • InspectFormulaTransformRegistry
  • IntegrableOn
  • IntegrationByPartsAdmissible
  • LebesgueMeasure
  • LoadFormulaTransformRegistry
  • LpNorm
  • MeasureIntegral
  • MeasureOf
  • MemLp
  • MemSobolev
  • PlanFormulaTransform
  • PlanFormulaTransformParts
  • PositiveMeasure
  • RegionMeasureObject
  • ReloadFormulaTransformRegistry
  • RiemannianGradientEnergy
  • RiemannianVolumeMeasure
  • SmoothCompactRiemannianManifold
  • TheoremConstant
  • TransformParameter
  • ValidateFormulaTransformDerivation
Lightmarey`FormulaTransformEngine`
CompileFormulaStructuralTransform
​
CompileFormulaStructuralTransform[json]
验证并注册保持等式关系的结构变换,其中包含具名运行时和结构匹配器。
​
更多信息和选项
▪
结构变换用于表达乘积法则展开、规范化等操作,在不引入不等式估计的情况下重组表达式结构。
▪
编译过程只接受声明式数据。可执行构造、未知编译原语、未绑定模板槽和不一致的方向都会被拒绝。
▪
成功时返回包含 Status -> "Compiled"、Kind -> "FormulaStructuralTransform"、Name、规范化字段和 Raw 的关联。无效输入返回 Status -> "Failure"、FailureType -> "InvalidRuleJSON" 以及 Issues 列表。
▪
参数:
json
Association
描述符字段如下表所示。
▪
描述符字段:
name
String,必需
注册表名称。
runtime
String,必需
结构运行时;默认使用 name。
appliesTo
字符串列表
支持的表达式族。
matchers
List
结构匹配器。
orientations
List
仅等式关系的变换模板。
conditions
List
所需的数学条件。
derivedBindings
Association
由匹配槽计算的绑定。
parameterExpressions
字符串列表
按表达式解析的参数。
​
范例  
(1)
基本范例  
(1)
In[1]:=
Needs["Lightmarey`FormulaTransformEngine`"]
编译并注册一个最小有效描述符:
In[2]:=
CompileFormulaStructuralTransform
[Association["kind""StructuralTransform","name""ExampleStructural","runtime""GenericStructural","appliesTo"{"ProductRule"},"matchers"{},"orientations"{}]]
Out[2]=
StatusCompiled,KindFormulaStructuralTransform,HeadCompiledFormulaStructuralTransform,RegistryKindStructuralTransform,NameExampleStructural,RuntimeGenericStructural,AppliesTo{ProductRule},Matchers{},Orientations{},Conditions{},DerivedBindings,ParameterExpressions{},RawkindStructuralTransform,nameExampleStructural,runtimeGenericStructural,appliesTo{ProductRule},matchers{},orientations{}
无效描述符返回结构化诊断,而不会执行任意代码:
In[1]:=
CompileFormulaStructuralTransform
[Association[]]
Out[1]=
StatusFailure,KindFormulaTransform,FailureTypeInvalidRuleJSON,MessageStructural transform JSON was rejected.,Issues{name must be a non-empty string.,runtime must be a non-empty string.},StructuralTransform
参见
CompileFormulaTransformRule
▪
CompileFormulaHeuristicRule
▪
CompileFormulaTargetPlanner
▪
CompileFormulaObligationDischarger
相关指南
▪
FormulaTransformEngine
""

© 2026 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com