| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 1 year, 3 months |
| seen | 9 hours ago | |
| stats | profile views | 191 |
|
Oct 31 |
comment |
How to implement dual numbers in Mathematica? I'm guessing that should be dualNumber /: f_[dualNumber[r_, d_]] := f[r] + f'[r] d dualE instead, to match the intuition of $\varepsilon$ being an infinitesimal. |
|
Oct 29 |
comment |
Plotting $\omega(k_x, k_z)$ in $(\omega, k)$ plane with assumption of $k^2 = k_x^2 + k_z^2$ Here's my hack: f[k_, w_, t_] :=
With[{kx = k Cos[t], kz = k Sin[t]},
w^4 - w^2 (kx^2 + kz^2 + 1) + kx^2], and then ContourPlot3D[f[k, w, t] == 0, {k, 0, 2}, {w, 0, 2}, {t, 0, Pi/2},
ViewPoint -> {0, 0, Infinity}, PlotPoints -> 50, MaxRecursion -> 0,
ColorFunction -> (Hue[#3] &), Lighting -> {{"Ambient", White}}], which gives i.stack.imgur.com/Panis.png. It looks different from @chris's result, I think because his code sometimes chooses $k_x > k$. |
|
Oct 28 |
comment |
Can the CholeskyDecomposition function in Mathematica be made to work on non-symmetric matrices? The chol documentation you linked to states that "If [the matrix] is not [(complex Hermitian) symmetric], chol uses the (complex conjugate) transpose of the upper triangle as the lower triangle." This agrees with @asim's question, and contradicts your assertion that it uses the symmetric part of the matrix. |
|
Oct 25 |
comment |
Logical operations on a list By the way... The word that goes with numerator is denominator. On the other hand, Demonimator sounds like an excellently cheesy sci-fi horror flick. :) |
|
Oct 22 |
comment |
Why doesn't Mathematica solve $x=\cos\,x$ properly? NSolve works when restricted to reals: NSolve[x==Cos[x],x,Reals] gives {{x -> 0.739085}}. |
|
Oct 22 |
comment |
Mollweide maps in Mathematica I must say, I'm amazed at the number of upvotes I've received simply for using a built-in function for its intended purpose! :) |
|
Oct 21 |
awarded | Enlightened |
|
Oct 21 |
awarded | Nice Answer |
|
Oct 21 |
comment |
Mollweide maps in Mathematica @belisarius: Just doing ImageCompose is not enough, as the ellipses don't align. |
|
Oct 21 |
comment |
Approximating an ornamental curve Nice solution. For a pen held at fixed orientation, the thickness of the stroke should be proportional to $\lvert\sin\theta\rvert$ rather than $\sin\theta/2$ though. |
|
Oct 21 |
comment |
Approximating an ornamental curve "This curve" is actually two curves. |
|
Oct 20 |
comment |
Mollweide maps in Mathematica I'm afraid not. You could ask a new question. |
|
Oct 20 |
comment |
Mollweide maps in Mathematica That seems to be the Padding option. Try Padding -> White. |
|
Oct 20 |
revised |
Mollweide maps in Mathematica deleted 18 characters in body |
|
Oct 20 |
comment |
Mollweide maps in Mathematica Perhaps we should host the image on imgur instead of directly embedding it from tpfto.files.wordpress.com, because (i) hotlinking is bad, and (ii) the site could change its URLs or take the image down. |
|
Oct 20 |
answered | Mollweide maps in Mathematica |
|
Oct 17 |
awarded | Enthusiast |
|
Oct 14 |
awarded | Commentator |
|
Oct 14 |
comment |
Isomorphisms for graphs with loops and multiple edges You could replace each edge with an edge-vertex-edge path, converting your multigraph into a unique simple graph which you can compare for isomorphism. |
|
Oct 10 |
comment |
Data interpolation and ListContourPlot "I think the paucity and irregularity of the data dooms this type of approach." I don't understand this sentence at all. Thin plate splines are a standard technique for scattered data interpolation, and can clearly be seen to work in my answer. Perhaps I should edit my answer to make it clearer that this method is not something I pulled out of a hat and fiddled with until it worked. |