61,321 reputation
5151351
bio website nd.edu/~szhorvat/pelican/…
location ND
age
visits member for 2 years, 10 months
seen 1 hour ago

contact details

Please do not write me with Q/A related questions. Post them on the site instead!

Visit Mathematica.SE


Nov
19
comment How can I call the R-programming packages in my Mathematica?
It looks like this package was removed from CRAN though ... cran.r-project.org/web/packages/highfrequency/index.html
Nov
19
comment How can I call the R-programming packages in my Mathematica?
You need to install R the package first using install.packages. With RLink this is only possible on Windows. Otherwise you can install the package into an external R installation (separate from RLink), then set up RLink to use this external R
Nov
19
comment How to force correct answers for Integrals of Cos[mx]*Cos[nx]?
@murray, this is why Assuming gives something different: mathematica.stackexchange.com/questions/42114/…
Nov
18
comment First::normal: Nonatomic expression expected at position 1 in First[0]. >>
Might not be the only problem based on the error message, but here you need to use k_?NumericQ in place of k_ to be able to use fxn2 in other functions such as Plot. Make sure you Clear[fxn2] before you re-define it. support.wolfram.com/kb/12502
Nov
18
comment Comparison of Dispatch objects ureliable in Mathematica 10
You're right, it does matter.
Nov
18
comment Comparison of Dispatch objects ureliable in Mathematica 10
Suggestion: it might also be worth taking care of different rule orderings.
Nov
18
comment Comparison of Dispatch objects ureliable in Mathematica 10
Please see the update at the end of my answer.
Nov
18
answered Comparison of Dispatch objects ureliable in Mathematica 10
Nov
18
comment Comparison of Dispatch objects ureliable in Mathematica 10
I edited your post slightly to make it clear how to reproduce the failure of comparison. This broke in version 10, it still works in v9. It is very likely due to Dispatch.
Nov
18
revised Comparison of Dispatch objects ureliable in Mathematica 10
added 485 characters in body
Nov
18
comment Comparison of Dispatch objects ureliable in Mathematica 10
A pastebin is a website for temporarily sharing text (code, datafiles, etc.). Like this one. I suggested it because I thought that your expression would be huge and wouldn't fit in a post here. But it's quite small actually, so there's no need for the pastebin. I'll take a look at this when I have time. First idea: I know that Dispatch has been changed in Mathematica 10, so it's the first suspect.
Nov
18
revised Comparison of Dispatch objects ureliable in Mathematica 10
added 25 characters in body
Nov
18
comment Comparison of Dispatch objects ureliable in Mathematica 10
Do you have any inexact numbers in your expression? An inexact number is anything that has a decimal point in it. 1. is inexact while 1 is exact. This is why I'm asking
Nov
18
comment Comparison of Dispatch objects ureliable in Mathematica 10
Can you give examples of objects that don't compare as equal by GraphPlot? Perhaps put them in a pastebin, since they're large.
Nov
18
comment Comparison of Dispatch objects ureliable in Mathematica 10
== is not really an appropriate way of testing whether expressions are the same. It's meant to be used to represent mathematical equality between algebraic expressions. This is why a==b won't evaluate to True or False. According to Mathematica, a and b stand for (complex) numbers here and whether they're equal depends on what is a and b. I think in your case === is the way to go.
Nov
18
comment Negative integral of a positive function
@JochenWengenroth I managed to get a simpler expression (2/t) (Pi - 2 ArcCos[t]) by doing it half-manually.
Nov
18
awarded  Enlightened
Nov
18
awarded  Nice Answer
Nov
18
revised Negative integral of a positive function
edited tags
Nov
17
comment Symbol definition in parallel kernels
Association is new in version 10. You can use a workaround similar to SetSharedFunction[f]; f[prop_, x_] := data[prop][x] = x, but do not use SetSharedFunction on data in this case. SubValues don't seem to be supported by SetSharedFunction.