summaryrefslogtreecommitdiff
path: root/common/settings.tex
diff options
context:
space:
mode:
authorPhilipp Le <philipp-le-prviat@freenet.de>2020-05-26 23:54:50 +0200
committerPhilipp Le <philipp-le-prviat@freenet.de>2021-03-04 01:31:57 +0100
commit7006abf6dbac4d18172786140e81431a1b237c9a (patch)
tree1bafe993ab1b6cdf09c0677d9fffb19ef45ebf64 /common/settings.tex
parent98a54697eb61f8737fcbf71e6f053008f691298b (diff)
downloaddcs-lecture-notes-7006abf6dbac4d18172786140e81431a1b237c9a.zip
dcs-lecture-notes-7006abf6dbac4d18172786140e81431a1b237c9a.tar.gz
dcs-lecture-notes-7006abf6dbac4d18172786140e81431a1b237c9a.tar.bz2
Completed Chapter 4
Diffstat (limited to 'common/settings.tex')
-rw-r--r--common/settings.tex9
1 files changed, 9 insertions, 0 deletions
diff --git a/common/settings.tex b/common/settings.tex
index ba83d93..0e8e28c 100644
--- a/common/settings.tex
+++ b/common/settings.tex
@@ -107,6 +107,15 @@
};
};
}
+\tikzmath{
+ function asinc(\x, \y) {
+ if abs(\x) < .001 then { % (|x| < .001) ~ (x = 0)
+ return 1;
+ } else {
+ return sin(\y * deg(\x) / 2)/(\y * sin(deg(\x)/2));
+ };
+ };
+}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Symbols