Hot answers tagged

7

Add the Global context: Clear["Global`a*","Global`b*","Global`A*"] The built-in (hence protected) command are of System scope: Context[AbelianGroup] (*returns: System`*)


7

Assume that you have your lists of unique resistor values (resistors) and of unique capacitor values (capacitors). For now, I generate two such lists as follows: resistors = Flatten@ Outer[ Times, PowerRange[1, 10000], {100, 110, 120, 130, 150, 160, 180, 200, 220, 240, 270, 300, 330, 360, 390, 430, 470, 510, 560, 620, 680, 750, 820, ...


3

This references a past dialog on the subject of argument testing. There may be a good reasons for the side-effect method you are using, but in this case a check function may simplify things. func::invidx = "Index `1` should be a non-negative machine-sized integer betwwen `2` and `3`."; func::intnm = "Number `1` should be a non-negative machine-sized ...


3

[Ref: Please see The clearest way to represent Mathematica's evaluation sequence for WReach's traceView2 function, which I will use to trace evaluation.] I'm a little more confused than I like to be when I answer. Perhaps sharing what I think I know will prompt others who better understand evaluation in Mathematica to contribute. One of the mysterious ...


1

Just forbid the symbolic treatment by defining a numerical function: x = {{9.19, -7.67}, {9.59, -7.32}, {9.81, -7.99}, {12.53, -9.98}, \ {7.40, -6.26}, {8.03, -6.94}, {9.40, -7.56}, {9.71, -7.63}, {8.15, \ -6.89}, {11.57, -9.48}, {11.82, -9.67}, {10.97, -9.15}, {7.57, \ -6.20}, {11.50, -8.91}, {8.06, -6.13}, {8.65, -7.17}, {8.39, -7.01}, \ {14.04, -11.65}, ...



Only top voted, non community-wiki answers of a minimum length are eligible