src/utils/sampling/Sequence.java
public void put(int sampleIndex, int entryIndex, Matrix entry) throws MatrixException {
        if (entries.containsKey(sampleIndex)) entries.get(sampleIndex).put(entryIndex, entry);
        else {
            MMatrix sample = new MMatrix(depth);
            sample.put(entryIndex, entry);
            entries.put(sampleIndex, sample);
        }
    }
/**
     * Puts new sample into specific sample index and entry (sample depth) index.
     *
     * @param sampleIndex sample index.
     * @param entryIndex entry (sample depth) index.
     * @param entry entry to be inserted.
     * @throws MatrixException throws exception if put operation fails.
     */
Puts new sample into specific sample index and entry (sample depth) index.
@param sampleIndex sample index.
@param entryIndex entry (sample depth) index.
@param entry entry to be inserted.
@throws MatrixException throws exception if put operation fails.
Puts new sample into specific sample index and entry ( sample depth ) index . @param sampleIndex sample index . @param entryIndex entry ( sample depth ) index . @param entry entry to be inserted . @throws MatrixException throws exception if put operation fails .
public void put(int sampleIndex, int entryIndex, Matrix entry) throws MatrixException {
        if (entries.containsKey(sampleIndex)) entries.get(sampleIndex).put(entryIndex, entry);
        else {
            MMatrix sample = new MMatrix(depth);
            sample.put(entryIndex, entry);
            entries.put(sampleIndex, sample);
        }
    }
public void put ( int sampleIndex , int entryIndex , Matrix entry ) throws MatrixException { if ( entries . containsKey ( sampleIndex ) ) entries . get ( sampleIndex ) . put ( entryIndex , entry ) ; else { MMatrix sample = new MMatrix ( depth ) ; sample . put ( entryIndex , entry ) ; entries . put ( sampleIndex , sample ) ; } }
Puts new sample into specific sample index and entry (sample depth) index.
Puts new sample into specific sample index and entry ( sample depth ) index .