A RetroSearch Logo

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

Search Query:

Showing content from http://reference.wolfram.com/language/workflow/HandleCodeSymbolically.html below:

Handle Code Symbolically—Wolfram Documentation

WOLFRAM Consulting & Solutions

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

WolframConsulting.com

Temporarily prevent expressions from evaluating so that you can work with them symbolically.

Using Hold or HoldForm... Wrap an expression with Hold or HoldForm

Prevent an expression from evaluating by wrapping it with Hold:

Use HoldForm to hold an expression and suppress the wrapper on output:

Operate on the expression

Modify the expression; for example, replace Reverse with Sort:

Evaluate the expression

Apply ReleaseHold to remove any instances of Hold or HoldForm in an expression, allowing it to evaluate completely:

Using Inactive and Inactivate... Inactivate a function or functions

Wrap a function with Inactive to prevent it from evaluating. Arguments of inactivated functions are evaluated, but not the inactivated functions themselves:

Apply Inactivate to an entire expression to inactivate all of the functions in the expression:

Use InputForm to see where Inactive has been applied:

Operate on the expression

Modify the expression. For example, replace 1 with 10:

Evaluate the expression

Apply Activate to remove any instances of Inactive in an expression, allowing it to evaluate completely:

Specify a pattern to activate only functions that match the pattern:


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