Skip to content

Commit 0bee966

Browse files
committed
added sgn note
1 parent 3c26c8e commit 0bee966

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/barrymartin.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@
5959
Where
6060
@f[ \mathrm{ssgn}(v) = \cases{ s & $v\lt 0$ \cr
6161
1 & $v\ge 0$ } @f]
62+
@f[ \mathrm{sgn}(v) = \cases{ -1 & $v\lt 0$ \cr
63+
+1 & $v\ge 0$ } @f]
64+
65+
Note the simplified form of the @f$\mathrm{sgn}(v)@f$ function used -- the standard definition may be used for nearly identical results.
6266
6367
Some special cases:
6468
- When @f$ d=-1, s=-1, f=1, g=0, h=0 @f$, the map becomes the "Classic Barry Martin fractal"

0 commit comments

Comments
 (0)