Pinguin Dirk
Reputation
5,436
Next privilege 10,000 Rep.
Access moderator tools
 Jan30 comment More elegant/efficient solution to browse through an array sure, just kidding - one can only guess what he wants, at this point Jan30 comment More elegant/efficient solution to browse through an array or ArrayPlot[array, ColorFunction -> "Rainbow"] for the more visual people out there :) Jan29 answered Evaluate function from a table Jan27 comment Evaluate function from a table it has no way of knowing that the function is in x. Afaik, you have to either use Composition or else Replace (a.k.a. /.), as shown above. Sorry don't have the time to write full answer. Jan27 comment Evaluate function from a table Not sure I understand (also looking at @bills answer). I try: either explicitly compose like for any "normal function", like ff = #^2 & and then ff[ff[x]] respectively: g=ff[ff[#]]& or use Composition explicitly Jan27 revised Evaluate function from a table added 14 characters in body Jan27 comment Evaluate function from a table try: f[[1]] = #^2 &(you need a pure function for that, see documentation). Also: check out: ConstantArray[0, 4]:) (fwiw: alternatively: f[[1]] /. x -> 2, but I wouldnt recommend that) Jan27 reviewed Close Application on systems of equations Jan21 answered How to place a matrix under controls (sliders) in a Manipulate? Jan21 revised Manipulate and ListPlot added 18 characters in body Jan21 comment How to place a matrix under controls (sliders) in a Manipulate? not sure if I understand: if you use the following in place of your controls, is that what you want? Column[{Control@{{a, 1, "x-Richtung"}, -3, 3}, Control@{{b, 1, "y-Richtung"}, -3, 3}, Control@{{c, 1, "z-Richtung"}, -3, 3}, Dynamic@Style[{{a, 0, 0}, {0, b, 0}, {0, 0, c}} // MatrixForm, FontSize -> 18, FontColor -> Black, TextAlignment -> Left]}] Jan21 comment neighbor swapping distance between two strings I think EditDistance is a bad choice here, for "EditDistance treats transposition as separate deletion and insertion operations", so: EditDistance["ac", "ca"] yields 2, whereas: "Damerau-Levenshtein distance counts transposition as a single operation" (yields 1) Jan20 reviewed Leave Open How do I fill the area from 0 to pi in my Sine wave and in the process get the area value? Jan20 reviewed Looks OK Simplifying just parts of an expression Jan17 reviewed Approve plotting cumulative distribution function Jan16 reviewed Approve truncating terms in symbolic expression basing on their values Jan14 answered Dot when used in a pattern becomes Times… Why? Jan8 reviewed Approve NDSolve boundary query / Extracting values from solution Jan7 reviewed Close Creating a C++ project with Visual Studio 2010 Jan4 awarded Yearling