Pinguin Dirk
Reputation
5,711
Next privilege 10,000 Rep.
Access moderator tools
 Feb 18 reviewed Looks OK Join matrix based on conditions Feb 18 reviewed No Action Needed Define a function with a function for an input Feb 2 reviewed Leave Open How to find the Mean of results given as a list of Rules? Jan 30 comment More elegant/efficient solution to browse through an array sure, just kidding - one can only guess what he wants, at this point Jan 30 comment More elegant/efficient solution to browse through an array or ArrayPlot[array, ColorFunction -> "Rainbow"] for the more visual people out there :) Jan 29 answered Evaluate function from a table Jan 27 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. Jan 27 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 Jan 27 revised Evaluate function from a table added 14 characters in body Jan 27 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) Jan 27 reviewed Close Application on systems of equations Jan 21 answered How to place a matrix under controls (sliders) in a Manipulate? Jan 21 revised Manipulate and ListPlot added 18 characters in body Jan 21 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]}] Jan 21 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) Jan 20 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? Jan 20 reviewed Looks OK Simplifying just parts of an expression Jan 17 reviewed Approve plotting cumulative distribution function Jan 16 reviewed Approve truncating terms in symbolic expression basing on their values Jan 14 answered Dot when used in a pattern becomes Times… Why?