LinearArray Class implementation