Static and Class Methods
As the other answers have noted, static and class methods are easily accomplished using the built-in decorators:
class Test(object):
# regular instance method:
def MyMethod(self):
pass
# class method:
@classmethod
def MyClassMethod(klass):
...
@DJMcMayhem static variables can be accessed from a non-static context (at least this is true in java). it will almost certainly provide a warning of sorts
Either xi - xj or xj-xi was on the bottom, I think something similar with y's is on top, then there's the product over j of that, and then times yi, then sum over i... I might be wrong, though.
Is there a word for a function that takes inputs (as opposed to a function that takes no inputs, or niladic function)? Non-niladic sounds awful because of double negation
@LuisMendo Yeah, it's not quite the same thing as what you need. "Nomadic" is more like a function that's monadic and dyadic at the same time... "Standard" term? I don't know.
@Neil, very nice usage of Pivot! I was wondering how on earth do I use that, when there is no way to just move in the direction of the pivot (at least that I could find)