User Portlet
| Discussions |
|---|
| I have two lists, `lhs` and `rhs`, which are equal in length. I wish to create a function to transform `lhs` and `rhs` into a list of rules, `myDesiredList`: ``` lhs = {1, 2, 4, 5, 7}; rhs = {"01", "02", "03", "04", "05"}; myDesiredList = {1 ->... |
| I have been thinking how [`MemberQ`][1] is a sort of special case of [`MatchQ`][2]. `MemberQ` assumes a list, rather than simply a pattern, as `MatchQ` does -- as its second argument. For example: MemberQ[{a, b}, a] MatchQ[{a, b}, {___,... |
| I'm running *Mathematica* 14.0 on Windows: $Version (* OUTPUT: *) (* 14.0.0 for Microsoft Windows (64-bit) (December 13, 2023) *) When I create a new notebook (`File -> New -> Notebook`) in the front end, the magnification is set... |
| What is the "best" or "Wolfram canonical" way to remove elements in a list according to a condition? I have `tripletList`, a list of triplets of integers: tripletList = {{1, 2, 5}, {1, 2, 6}, {2, 1, 4}, {2, 2, 3}, {2, 2, 4}}; I wish to delete triplets whose second part is 1. In other words, I wish to operate on `tripletList` to obtain this... |
| I'm running Mathematica 14.0 on Windows: $Version $MachineType (* 14.0.0 for Microsoft Windows (64-bit) (December 13, 2023) *) (* PC *) My institution has access to Mathematica 14.2 and will probably soon have access to... |
| Suppose I have a `DateObject`: myDateObject = DateObject[]; ![myDateObject][1] **Is it possible to resize this `DateObject` — either by resizing the object directly, or by reducing the font size in the styling?** # Resizing the... |