def []=(index,value)
      if self.shape.count != 1 or index >= self.shape[0]
        raise IndexError.new("You can only set values for array values")
      else
        @array_image[get_index_value(index)] = value
      end
    end
def []=(index,value)
      if self.shape.count != 1 or index >= self.shape[0]
        raise IndexError.new("You can only set values for array values")
      else
        @array_image[get_index_value(index)] = value
      end
    end
Set the value for an element of the dataset

 === Parameters

 * <tt>index</tt> -- The desired index on the dataset
 * <tt>value</tt> -- The value that the will be set

 === Options

 === Examples

   img[0][0] = 1.0