﻿module ml {
    /**
     * Vector class
     */
    export class Vector {

        constructor(private elements: number[]) { }
/**
         * Add element to the vector
         * @param element
         */
        public add(element: number): Vector {
            this.elements.push(element);
            return this;
        }

        /**
         * Get the element at the specified index