| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 1 year, 3 months |
| seen | Mar 26 at 14:06 | |
| stats | profile views | 128 |
Not to be offended
|
Mar 26 |
comment |
How to enter arrows in Notation function? I need to enter code from Within Wolfram Workbench. This is programmers environment based on Eclipse and has no any palettes. |
|
Mar 4 |
comment |
Vertical “fractions” with more than 2 parts Ok will wait for other points... |
|
Mar 4 |
comment |
Vertical “fractions” with more than 2 parts Thanks a lot! Will learn of your examples! First ones are better (without shrinking). |
|
Mar 4 |
comment |
Vertical “fractions” with more than 2 parts Yes, I have custom expressions which I want to have such custom syntax. |
|
Jan 20 |
comment |
Efficient circular buffer? Yes, but I hadn't finish the work. You should develop the idea. Upon reaching the end of list you should wrap index accordingly. Also you should drag tail index. |
|
Jan 19 |
comment |
Efficient circular buffer? I think Append is slow because it is functional, i.e. it copies original and return a modified copy, remaining argument intact. |
|
Jan 19 |
comment |
Apply rule only if applicable? Check rule applicability? Custom unapplicable rule? I am fighting with this for months. I did this in Java already, but unable in Mathematica functional language yet. Although it should be for this. I think Stephen prevented Mathematica from extension. |
|
Jan 19 |
comment |
Why rule does not work if Flat attribute? @ssch But OneIdentity is wrong. Head should not disappear. |
|
Jan 19 |
comment |
Apply rule only if applicable? Check rule applicability? Custom unapplicable rule? @kguler it's ok |
|
Jan 19 |
comment |
Apply rule only if applicable? Check rule applicability? Custom unapplicable rule? The main problem is "preprocessing". If user enters some expression with some heads, it should be automatically transformed into expressions with same heads, but simplified and normalized. This causes recursions for me. Conditions work bad here because they can require complex computations. |
|
Jan 19 |
comment |
Apply rule only if applicable? Check rule applicability? Custom unapplicable rule? By MyRule1 = MyHead1[x_MyHead2] | MyHead1[x_MyHead3] -> x I meant a rule, which applies to expression with head 2 or 3 and gives x in the case. Isn't it correct? |
|
Jan 19 |
comment |
Apply rule only if applicable? Check rule applicability? Custom unapplicable rule? I want to implement custom algebra with custom heads, transformations and simplifications. I am surprised Mathematica is not well suitable for this. |
|
Jan 19 |
comment |
Custom attributes? Ah, I found SetOptions function. |
|
Jan 19 |
comment |
Custom attributes? Thanks. But how to change individual option of a symbol? |
|
Oct 29 |
comment |
How to leave function unevaluated programmatically? @Mr.Wizard thank you for comprehension! |
|
Oct 29 |
comment |
How to leave function unevaluated programmatically? Here (Null /; False); construct is approximately Fail[] function Mathematica lacks. The difference that it can't work nested and should be at the end of procedure always |
|
Oct 29 |
comment |
How to leave function unevaluated programmatically? Even better F1[x_] := (If[x >= 0, Return[Sqrt[x]]]; (Null /; False);) |
|
Oct 29 |
comment |
How to leave function unevaluated programmatically? Ok, this looks like a final and sufficient solution I was looking for. It both uses condition and procedural. So I was wrong avoiding condition at all and people were wrong forcing condition in normal form. |
|
Oct 29 |
comment |
How to leave function unevaluated programmatically? You mean I pass entire answer to condition while you assigned it to a variable first? |
|
Oct 29 |
comment |
How to leave function unevaluated programmatically? Sorry don't catch the difference between I wrote and you wrote? |