Hello! I need ideas regarding the programming techniques in math. I've been developing linear algebra(matrices) and statistical classes in C#. I have defined all the functionality and they work well but from the programming point of view, it still requires to be streamlined and modified. So, I have one specific question: Generally (very generally) how could you define a class hierarchy in statistics or calculus. To be more precise: What would you have defined as a base class and derived classes??? Im thinking about one idea and that may help you understand the concept of this question. The idea is as follows: I want to define some common methods like combination, permutation, factorial, etc... as a base class and the discrete and continuous distributions as derived classes. So what do you think? Currently I have defined all the classes (Lin_alg, Statistics) as static classes as well as their methods... Any response will be acceptable. Thank you