A sample vector implementation