ImplicitList
ImplicitList
ImplicitList[ expr1, expr2, ... ] displays expressions as a comma-separated list, without curly braces.
Usages
ImplicitList[ expr1, expr2, ... ]
ImplicitList[ expr1, expr2, ... ] is displayed as expr1, expr2, .... A normal list { expr1, expr2, ... } is displayed with curly braces.
| Example | in | rendered |
|---|---|---|
| Two equations, separated by a comma. | ImplicitList[ x=1, y=2 ] |
|
| The same equations in a normal list. | { x=1, y=2 } |
|
| A single expression is displayed as the expression itself. | ImplicitList[ x+1 ] |
|
| Without arguments, the empty set symbol is displayed. | ImplicitList[] |
Details
ImplicitListonly affects how the expressions are displayed. It does not calculate anything: in a script,ImplicitList[ x=1, y=2 ]staysImplicitList[ x=1, y=2 ].ImplicitListis not a list, so list commands do not work on it. For example,Length[ ImplicitList[1,2] ]is left unevaluated. Do your calculations with a normal list, and useImplicitListonly for the final result.