I have a matrix of dimensions N x M.
Every cell has an integer.
Now, I want for every 'square', to verify that all its corners are not the same.
Example:
This matrix is fine:
This matrix is not:
The naive solution is to check every possible square, therefore $\binom N2\binom M2$ checks.Is there...
@David let me be clear: if he specifically wants a solution in Mathematica it belongs here IMHO. I am doubting that he does, as a new user to this site and apparently not active on the mathematica SO tag.
@Heike Well, that too. BTW: I finally decided to just use ListContourPlot[] and a slightly modified coloring scheme to fake a three-dimensional look. So, still good.
Please Consider :
list={{5,2,6},{2,8,3}}
I need to get the product of all the element within list :
As of now I do this :
(#[[1]]*#[[2]]*#[[3]]) & /@ list
Which means I have to manually specify the number of elements within each least and the sublists length has to b equal.
How cou...
The use of profanity in films has always been controversial, but has increased significantly in recent years. The use of the word fuck in film has always drawn particular criticism; in 2005, the documentary Fuck dealt entirely with this phenomenon. The word fuck is thought to be the taboo term used most in American film.
This is a list of non-pornographic, English language films containing at least 150 spoken uses of the word fuck (or one of its derivatives), ordered by the number of such uses. These are examples of high usage compared to fuck variants used 42 times per million words in...
A common problem in the derivative section of calculus texts is "find the equation of the line that is tangent to the curve $y = \ldots$ at the point $P$."
To find the line that is tangent to $y = 2 x \sin x$ at $(\pi/2,\pi)$, I'd do something like this in Mathematica:
y[x_] := 2 x Sin[x]
y[x] ...
‎Candiru (English and Portuguese) or candirú (Spanish), also known as cañero, toothpick fish, or vampire fish, are a number of genera of parasitic freshwater catfish in the family Trichomycteridae; all are native to the Amazon River. Although some candiru species have been known to grow to a size of in length, others are considerably smaller. These smaller species are known for an alleged tendency to invade and parasitise the human urethra; however, despite ethnological reports dating back to the late 19th century, the first documented case of the removal of a candiru from a human urethra ...
In the Yellowstone national park, symbiotic behavior between three species was discovered: a poa, a slime mold, and a virus. The area has many hot springs that heat up the soil around them. The grass' roots Dichanthelium Lanuginosum tolerates these temperatures up to 70 °C thanks to the mold Curvularia Protuberata.
However, both the mold and the grass alone can only withstand temperatures up to 38 °C. Necessary for this symbiosis is a third participant, the virus CthTV (curvularia thermal tolerance virus), which infects the slime mold. If the virus is removed, the mold loses its resistence to heat, and the grass dies.
Having only used pure chalk without added substances so far, I wondered how the other ones perform. Most of the information I could find online is either somebody ranting against a certain type, or uncritical explanations of what the different ones are made of.
So, what are the benefits and trad...
Proposed Q&A site for geek men. They don't understand women, and want to spend more time with their projects, StarCraft2, board games and such. They need help with various Exceptions that GFs can throw at them, and need help fast!
@acl the students I talked to afterwards liked it. It had flaws, though, and I could have done better. As I said, my old prof wasn't to happy that the focus was to much comp sci and very little on my actual research.
Proposed Q&A site for people who love working with keyboard & leave others standing nearby saying "Wow man! How did you do that?".
It may be a specific popular software or a specific operating system; there are shortcuts for most of the things of which we are not aware.
@rcollyer takes conscious effort though (eg when you find yourself with a bunch of people, in a bar, and nobody cares about maths, physics or computers)
@rcollyer yes nowadays I only go to bars when forced. I am mostly stuck to my computer, working or waiting for results. I don't mind
@rcollyer this happens to me all the time. there's a guy that appears in all fields I worked in, which span classical stat mech, stochastic processes, QHE, ultracold gases, and 1d systems. needless to say, I am intimidated (he's done much much better work than myself, of course)
i am now working on a new thing. he's announced a talk at the march meeting about it...