@rm-rf Ideally override the System variables, while still holding calling the internal representation. I just remember a question that discussed how to almost wrap system functions.
@Liam Sorry, I never understand what you're looking for, because you never ask what you're looking for and never say what the purpose of the convoluted code is. It's hard to always be searching in the dark...
@Liam In this case, it looks like the Villegas–Gayley trick is what you need.
@rm-rf That is exactly what I am looking for. If it helps I ultimately trying to prevent Graphics from being rendered in HoldComplete in the question you just commented on a second ago. If it is any help I can post a picture that helps explain more/why I am trying to do it, but that is only if the question is not clear.
@rm-rf updated post with picture and explanation. Yes that and InputForm@Hold[Graphics[{Red, Circle[], x}]] work. I am trying to force Mathematica to render Held Graphics that way because there is no value IMO to the user to partially(half way) render something.
This solution uses trick to redefine internal functions presented in this earlier answer by Leonid Shifrin.
(* Code run as an argument of WithFullySimplifiedComparisons tries
harder to symbolically resolve equality and inequality tests. *)
ClearAll[WithFullySimplifiedComparisons];
WithFullyS...
I like my form because it abstracts the not-so-obvious construct to kind of With.
@SjoerdC.deVries Hi, could you share a source of better resolution of your avatar? I failed looking for better one via g**gle graphics. This is my favourite of all of avatars :p
Hmmh. How does Mathematica handle gamma correction on images? If I create a Raster image and export it, does it perform gamma correction on it, that is, is the original Raster linear intensity?
I have a hunch: it doesn't do what I want.
Doesn't seem linear to me: Image[Table[If[Mod[Floor[y/20], 2] == 0, Boole[RandomReal[] < x/1000], x/1000], {y, 100}, {x, 1000}]]
I'm trying to do precise rasterization and antialiasing of black objects on white background, and this seems to always be an issue, with almost every tool. I'm a bit surprised Mma doesn't have built-in support for linearized color spaces.
hmm in Polish there is no male name which ends with "a", my name is Jacob but short form is Kuba so I've faced situations that foreginers thought it is female name :)
Well, "usually" sounds like there's still variation. I think that among Finnish names, there are probably less than 1% (and even much less people with such names) that could even be accepted for both genders.
@pheiztu I can confirm I am female. Mathematica user since 1995 and moderator of the site. So there. There is also Heike but she hasn’t been around for a while.
I think names of most Finns end in a vocal, which might many Europeans might assume to increase odds of those names being female names. Usually they're so different from names used in indoeuropean languages that it's probably just alphabet soup to them.
Internal`InheritedBlock
I have learned recently the existence of such useful function as Internal`InheritedBlock, from this message of Daniel Lichtblau in the official newsgroup.
As I understand, Internal`InheritedBlock allows to pass a copy of an outbound function inside the Block scope:
In[...
@SjoerdC.deVries I can't say so, I saw only couple of stripes and I like them all. But the frame from your avatar is so well suited with my thoughts about exams system that I can't resist to print it :p
Mathematica has a lot of undocumented or poorly documented options.
How does one go about working out if there is an undocumented option that might solve a particular problem?
How does one work out what the universe of possible values the option might take are? (This also applies to options who...