1h
comment Good way to create a similarity / distance matrix for a large dataset
Possible duplicate: (21861)
1h
comment Using TraditionalForm to express equations
I believe you can use "E" in place of E directly inside the Subscript with the same visual effect as your replacement.
2h
comment Why FoldList 5 times faster than Apply for matrix multiplication?
Related: (83072), (83412)
4h
comment Is there a practical way to define a default value for missing keys in an Association?
Related: (69291)
4h
revised Replace For with If in Mathematica way
edit to match corrected Question
6h
answered Replace For with If in Mathematica way
6h
revised Pareto optimal fronts using internal function?
edited tags
10h
awarded Enlightened
12h
awarded Nice Answer
1d
answered Understanding evaluation and typesetting
1d
comment Is there a way to make links to functions in a notebook?
@FredKline lol -- thanks :-)
1d
revised Is there a way to make links to functions in a notebook?
added 509 characters in body
1d
revised Is there a way to make links to functions in a notebook?
added 509 characters in body
1d
answered Is there a way to make links to functions in a notebook?
1d
comment How to avoid tranfer the array as a parameter
Your code as posted does not evaluate because Subscript[x, [[1]]] is not valid input. Could you try to correct that or describe how you entered it?
2d
comment Using patterns in pure functions
Well the OP already knew about Slot and Function so, bluntly, I don't see the point of the first method. The Switch code however is a good example of the use of a pattern inside a pure function as requested, so +1 for that.
May
2
answered Is there any harm or benefit to Removing unneeded private symbols in packages?
May
1
comment Using patterns in pure functions
I personally prefer to avoid using both Map and Replace as both can take a levelspec as needed. I would instead use If[IntegerQ[#], # (# - 1), #] & /@ {1, 2, 3, x} if avoiding named patterns for some reason.
May
1
revised Error entering equation in DSolve
deleted 4 characters in body
May
1
comment Error entering equation in DSolve
I just noticed that technically this answer was incorrect. Evaluation of y'[x] is not the issue as one can see with HoldPattern[y'[x]] = "bad"; rather y'[x] parses as Derivative[1][y][x], as seen with HoldForm @ FullForm[y'[x]]. I am editing this answer accordingly.
1 2 3 4 5