Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
5
votes
2
answers
917
views
Replacing dot by *?
I am unable to replace dot by *.
Replace[a.a, .-> *]
Is there any solution to get this done?
6
votes
1
answer
555
views
Pattern test: _Integer vs _?IntegerQ [closed]
While checking out the different pattern replacement methods in this question, I have a query regarding the basic difference between the following two replacements:
expr = a x^3 + b x y - c x^7 y^2; … Integer :> x^Mod[m, 2]}
The first replacement works as expected, but the second replacement does not do anything. What is happening in the second one. …
4
votes
1
answer
1k
views
Replacement using pattern matching?
Starting with the expression
eq1 = 5 Exp[1 + 2 x + 3 x^2 + 4 x^3];
I want to implement the following transformation:
eq1 /. Exp[a_ x^2 + b_ x^3] -> f[a/b]
However, I am not getting the desire …