Implementation of weight vector type and functionalities.