def to_s dim=3, type=String
      string = ""
      if type == String
        if @y == nil or dim == 1
          string = "(#{@x.to_f.round(3)})"
        elsif @z == nil or dim == 2
          string = "(#{@x.to_f.round(3)}; #{@y.to_f.round(3)})"
        elsif dim == 3
          string = "(#{@x.to_f.round(3)}; #{@y.to_f.round(3)}; #{@z.to_f.round(3)})"
        else
          Error.call "Vector::to_s : Invalid number of dimension specified"
        end

      else
        Error.call "Vector::to_s : Invalid type conversion", ERR_HIGH
      end

      return string
    end
def to_s dim=3, type=String
      string = ""
      if type == String
        if @y == nil or dim == 1
          string = "(#{@x.to_f.round(3)})"
        elsif @z == nil or dim == 2
          string = "(#{@x.to_f.round(3)}; #{@y.to_f.round(3)})"
        elsif dim == 3
          string = "(#{@x.to_f.round(3)}; #{@y.to_f.round(3)}; #{@z.to_f.round(3)})"
        else
          Error.call "Vector::to_s : Invalid number of dimension specified"
        end

      else
        Error.call "Vector::to_s : Invalid type conversion", ERR_HIGH
      end

      return string
    end
== Parameters:
 dim::
   Option option to choose the desired number of dimension of the vector (if is it in 3d, it will be flattened)
 type::
   Optional and not used yet. It specify the format of the string. It may only be String yet.

 == Returns:
 String