TypeEvaluate

TypeEvaluate[expr]

represents a type created by evaluating expr.

Details

Examples

Basic Examples  (2)

Represent the type of a function that accepts a packed array with rank r and returns a packed array with rank r+1:

Compile a program using a function with that type:

Use TypeOf inside TypeEvaluate:

Compile a program using a function with the specified type:

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

Text

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

CMS

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

APA

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

BibTeX

@misc{reference.wolfram_2024_typeevaluate, author="Wolfram Research", title="{TypeEvaluate}", year="2022", howpublished="\url{https://reference.wolfram.com/language/ref/TypeEvaluate.html}", note=[Accessed: 23-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_typeevaluate, organization={Wolfram Research}, title={TypeEvaluate}, year={2022}, url={https://reference.wolfram.com/language/ref/TypeEvaluate.html}, note=[Accessed: 23-November-2024 ]}