Questions tagged [placeholder]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
26 views

Notebook Apply with SelectionPlaceholder leaves entire pasted structure selected

Consider the following button: ...
2
votes
1answer
68 views

Replace rule using a wildcard

I have a complicated expression which I want to simplify following a rule. For example, if I want to make the following replacement: A[t] - B*A[t - d1] = Y[t] ...
0
votes
0answers
83 views

How to use multiple placeholders to define a function that operates on special functions.

I am trying to understand if and how I can use multiple placeholders in order to define a function that will perform more than one operations on special functions; more accurately, sums, products, etc ...
5
votes
2answers
101 views

MatchQ failing in some cases with Hold [duplicate]

Could someone clarify why the first of these MatchQ finds a match whereas the second does not? (I'm using version 10.0, in case that matters.) ...
1
vote
2answers
29 views

Place Holder or Suppressing Re-ordering

Using the for loop how can I print: file0.jpg file1.jpg file2.jpg file3.jpg file4.jpg file5.jpg file6.jpg file7.jpg file8.jpg file9.jpg The closest code I came ...
3
votes
1answer
88 views

How to use special characters in .m file?

I ran into a strange problem with a function that I want to include in a package file (.m): Cleanup[data_] := data /. (\[Placeholder] -> Missing[]) When I ...
0
votes
1answer
130 views

What is the simplest way to obtain function obect of a given function?

Suppose I have a function p of some arguments: p[x_,y_]:= (* something *) Now I with to pass this function as an object to ...