A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://reference.wolfram.com/language/ref/CompiledExpressionDeclaration.html below:

CompiledExpressionDeclaration—Wolfram Language Documentation

WOLFRAM Consulting & Solutions

We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technology expertise.

WolframConsulting.com

BUILT-IN SYMBOL CompiledExpressionDeclaration Details Examplesopen allclose all Basic Examples  (2)

Represent a declaration of a type representing expressions of the form foo[_Integer,_Real] but that internally stores the data in a product type:

Compile a function which instantiates and returns an object with the new type:

Represent a declaration of a type representing expressions with the head foo and length 2 and that internally stores the data in an expression:

Compile a function that takes foo as an argument and returns it unchanged:

The function accepts expressions that have the specified structure:

But rejects expressions that do not have the specified structure:

Scope  (2)

A declaration of a type representing expressions with head foo and that takes any number in its first argument and a Boolean in its second argument:

Compile a function that returns an object with that type:

Note that the return type of the function is parameterized by the type of number that the foo takes in its first argument.

A declaration of a type representing expressions with head foo and that takes any two arguments:

Compile a function that returns an object with that type:

Note that the return type of the function is parameterized by the two argument types. This is equivalent to declaring a compiled expression that has unrestricted type variables in both arguments:

Wolfram Research (2022), CompiledExpressionDeclaration, Wolfram Language function, https://reference.wolfram.com/language/ref/CompiledExpressionDeclaration.html. Text

Wolfram Research (2022), CompiledExpressionDeclaration, Wolfram Language function, https://reference.wolfram.com/language/ref/CompiledExpressionDeclaration.html.

CMS

Wolfram Language. 2022. "CompiledExpressionDeclaration." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CompiledExpressionDeclaration.html.

APA

Wolfram Language. (2022). CompiledExpressionDeclaration. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CompiledExpressionDeclaration.html

BibTeX

@misc{reference.wolfram_2025_compiledexpressiondeclaration, author="Wolfram Research", title="{CompiledExpressionDeclaration}", year="2022", howpublished="\url{https://reference.wolfram.com/language/ref/CompiledExpressionDeclaration.html}", note=[Accessed: 12-July-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_compiledexpressiondeclaration, organization={Wolfram Research}, title={CompiledExpressionDeclaration}, year={2022}, url={https://reference.wolfram.com/language/ref/CompiledExpressionDeclaration.html}, note=[Accessed: 12-July-2025 ]}


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4