diff options
author | Aki <please@ignore.pl> | 2022-09-03 00:18:04 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-09-03 00:18:04 +0200 |
commit | 5013752d8649b6b2070f1e2f8a3817db28416dbd (patch) | |
tree | 4ce892e879e241077d6d75f782065887f82079bf /szilagyi/nomogram.py | |
parent | 07b0fb8ef544dbf007068b5b23dd7ec989ac8017 (diff) | |
download | szilagyi-5013752d8649b6b2070f1e2f8a3817db28416dbd.zip szilagyi-5013752d8649b6b2070f1e2f8a3817db28416dbd.tar.gz szilagyi-5013752d8649b6b2070f1e2f8a3817db28416dbd.tar.bz2 |
Moved Vector to dataset
Diffstat (limited to 'szilagyi/nomogram.py')
-rw-r--r-- | szilagyi/nomogram.py | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/szilagyi/nomogram.py b/szilagyi/nomogram.py index 91d75c2..299d930 100644 --- a/szilagyi/nomogram.py +++ b/szilagyi/nomogram.py @@ -1,15 +1,7 @@ import math from collections import deque - -class Vector(complex): - def __getitem__(self, index): - if index == 0: - return self.real - elif index == 1: - return self.imag - else: - raise IndexError +from ._dataset import Vector def look_downwards(data, x, start): |