Combine std::vector and std::valarray Implementations (Updates #7)