x method

double x()

Gets the acceleration on the x-axis @return X-axis acceleration

Implementation

double x() {
  return vector[0];
}