public static ListNumber linearList ( final double initialValue , final double increment , final int size ) { if ( size <= 0 ) { throw new IllegalArgumentException ( "Size must be positive (was " + size + " )" ) ; } return new LinearListDouble ( size , initialValue , increment ) ; }
Creates a list of equally spaced values given the first value the step between element and the size of the list .