Documentation of 'org.ujmp.core.timeseries.TimeSeriesMatrix' Java class
TimeSeriesMatrix
org.ujmp.core.timeseries

Class TimeSeriesMatrix

    • Constructor Detail

      • TimeSeriesMatrix

        public TimeSeriesMatrix()
    • Method Detail

      • addEvent

        public void addEvent(long timestamp,
                             Matrix value)
      • addEvents

        public void addEvents(Matrix events)
        Adds the events of a new Matrix to the time series. The first column of the matrix must contain the timestamps.
        Parameters:
        events - matrix with events to add
      • addEvent

        public void addEvent(long timestamp,
                             int column,
                             double value)
      • getEventCount

        public int getEventCount()
      • getSeriesCount

        public int getSeriesCount()
      • getTimestamps

        public java.util.List<java.lang.Long> getTimestamps()
      • getDouble

        public double getDouble(long row,
                                long column)
      • getDouble

        public double getDouble(int row,
                                int column)
      • setDouble

        public void setDouble(double value,
                              long row,
                              long column)
      • setDouble

        public void setDouble(double value,
                              int row,
                              int column)
      • getRowForTime

        public long getRowForTime(long time)
      • getAsDoubleForTime

        public double getAsDoubleForTime(long time,
                                         long column)
      • getTimestamp

        public long getTimestamp(long row)
      • getMinTimestamp

        public long getMinTimestamp()
      • getMaxTimestamp

        public long getMaxTimestamp()

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.