""" Vector And Matrix Math TODO some nice description """ from libc.stdlib cimport malloc, realloc, free from libc.stdint cimport uint8_t, uint16_t, uint64_t from libc.math cimport sin, cos, sqrt class MathError(Exception): def __init__(self, description): self.description = description def __str__(self): return self.description class GeneralError(Exception): def __init__(self, description): self.description = description def __str__(self): return self.description