User Portlet User Portlet

Werner Geiger
Discussions
Daniel, I examined LinearFunctionQ and found: - It handles expressions written with normal symbols x, y, ... correctly - It does respect variables written as Indexed (say Indexed[x,1]) - It does respect variables written as Subscript(ed) (say...
It's clear, Hans, that I can always accept any pretty general parameter (parm_ in the most general case) for a function and then test parm through initialization code. But this gives lengthy useless error-checking and -handling coding. I prefer...
This is a pretty general pattern matching test program. Within a Do-Loop It accepts a list do of lists; one list per pattern: do = { {pattern, args, expMatches, description, trace, supp}, ...}. This will define a function ...
Thanks Rohit, **this is perfect**. I was not aware that assumptions can use patterns. BTW: The second parameter in Simplify is superfluous. Here some more examples how to use: Block[{x, expr}, expr = Sqrt[(1 + 2 Conjugate[x] + x^2)];...
Thanks Neil. I think it is clear that even without GraphicsInformation I can draw the Graphics without PlotLabel into a variable g, get AbsoluteOptions[g, ImageSize], use that width to size the PlotLabel and draw the Graphics again including the...
Thanks Hans. I didn't remember that.
Hello Daniel, I don't remember if there was something special when that weird context issue appeared. I tried it again with aborting something before the code above. No problem occured. Still *Global`* context. I think we can forget about...
I wouldn't know what else to explain. I thought my post and my example notebook were already way too detailed. Maybe it will be clearer if I just use one variable x and comments instead of real code. Attached is a new notebook version "211219 Pass...
Hans, you're right. I didn't really realize what "generic" means. However, that makes the symbolic result of PlanarAngle pretty meaningless.
*Postscript after writing this post: I thought I found a bug in Echo and Print. But in fact it was my mistake to misunderstand "Row".* In all my programs I use a global variable testLvl with which I can control echo outputs. I.e.: I can write: ...