11,219 reputation
12254
bio website
location
age 28
visits member for 2 years, 5 months
seen Sep 28 at 18:24

Dec
21
answered Can I redefine a list as a set of variables?
Dec
21
answered How to make a Tooltip display dynamic based on a parameter value?
Dec
21
revised More structure in Source Code/Notebooks
deleted 2 characters in body
Dec
21
answered More structure in Source Code/Notebooks
Dec
21
comment More structure in Source Code/Notebooks
@warsaga Could you paste a small example of how you go from unctructured to structured code and where you think it gets confusing? I think you are looking for something resembling OOP for all the wrong reasons.
Dec
20
comment Special Mathematica Cell to work with R code
This should give you one such cell: CellPrint[TextCell["x + b", "Input", CellEvaluationFunction -> (REvaluate[#1] &)]]. I belive you shoud be able to define this on a stylesheet level however, but it's not working for me right now.
Dec
19
comment MatrixForm explanation as why row extract is displayed as a column?
@NasserM.Abbasi Very nice edit.
Dec
19
comment MatrixForm explanation as why row extract is displayed as a column?
@NasserM.Abbasi No offence taken! I just wanted to clarify that this isn't some cleaver trick that makes it come out like one would want it. It's the intended behavior and quite consistent. I sometimes feel like MATLABs defaults is a trick based on the assumption that people mainly deal with 2D matrices, thus they don't have lists of numbers, only rows or columns.
Dec
19
comment MatrixForm explanation as why row extract is displayed as a column?
@Lau Yes, Thank you.
Dec
19
revised MatrixForm explanation as why row extract is displayed as a column?
edited body
Dec
19
comment MatrixForm explanation as why row extract is displayed as a column?
@NasserM.Abbasi This isn't a trick.
Dec
19
revised MatrixForm explanation as why row extract is displayed as a column?
edited body
Dec
19
answered MatrixForm explanation as why row extract is displayed as a column?
Dec
19
comment Mathematica 9 behavior with derivative of a sum
@swish No matter what you expect it to mean, you will have to agree that if D[Sum[Sin[x],x],x] has a nonzero value, then D[Sum[f[x],x],x] cannot be zero in general, since we might have f==Sin.
Dec
19
revised How to efficiently get the value from form UI built with dynamic InputField
added 790 characters in body
Dec
19
comment Function with different set of arguments
@user4972 Because of the way Sequence works, p cannot be used directly as a list, you have to use for instance {p}[[i]].
Dec
19
revised How to efficiently get the value from form UI built with dynamic InputField
added 55 characters in body
Dec
19
answered How to efficiently get the value from form UI built with dynamic InputField
Dec
19
comment Function with different set of arguments
@user4972 Yes, the first two examples where to highlight how you would go about if you knew exactly what numbers it should work for.
Dec
19
comment Function with different set of arguments
@user4972 In the above you know for certain that definition 1 has one passed, and definition 2 has three passed. In the last definition, the matched p be equal to Sequence[{x,y,z},{x1,y1,z1},...,{xN,yN,zN}], so you can find the length using Length[{p}]. Note that {} is needed due to the way Sequence works.