Skip to content

Instantly share code, notes, and snippets.

View joe-engineering's full-sized avatar

joe-engineering

View GitHub Profile
class NdimVector:
def __init__(self, v):
for i in v:
if isinstance(i, int) != True:
raise Exception('error')
self.vertibas = v
def __str__(self):
return str(self.vertibas)
def __mul__(self, other):
if isinstance(other, NdimVector):