Tag Info

New answers tagged

1

It is not clear to me what you are really asking, but perhaps this will be of interest to you. {x, y} = {{a, b, c, d}, {e, f, g, h}}; p[x_List, y_List] := Inner[Times, x, y, List] p[x, y] {a e, b f, c g, d h} or q[x_List, y_List] := Thread[Times[x, y]] q[x, y] {a e, b f, c g, d h} If these simple ways of producing a list of products sparks ...


2

ClearAll["Global`*"] (* create four random lists for example *) {a, b, c, d} = RandomInteger[100, {4, 20}]; (* some rules... *) rules = {1 -> 0, 2 -> 3, 3 -> 5}; (* some function *) f[a_, b_] := a*b; (* do it *) result=Fold[f /. rules, {a, b, c, d}] Notes: Don't use uppercase initials for user-defined symbols. You may clash with built-ins. ...


1

Here are some findings after I investigated a bit. Header/tag information In the case of the tag or header information that are in the form :Identifier:, there does not exist a definite rule. In fact, after searching the whole AddOns directory, it turns out that some packages use Author while others use Authors. The same is true for Example/Examples, ...


2

I'm not aware of a definitive guide. Something towards what is possible is at Stack Exchange which I use from a button to create a skeletons of notebooks & packages. From memory I was inspired by the report generation procedures which were introduced at the time. Of course, YMMV.



Top 50 recent answers are included