All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.wikibrain.matrix.MatrixRow Maven / Gradle / Ivy

There is a newer version: 0.9.1
Show newest version
package org.wikibrain.matrix;

import gnu.trove.map.hash.TIntFloatHashMap;

import java.util.LinkedHashMap;

/**
 * Created with IntelliJ IDEA.
 * User: shilad
 * Date: 4/19/13
 * Time: 10:27 AM
 * To change this template use File | Settings | File Templates.
 */
public interface MatrixRow {
    int getColIndex(int i);

    float getColValue(int i);

    int getRowIndex();

    int getNumCols();

    LinkedHashMap asMap();

    TIntFloatHashMap asTroveMap();

    double getNorm();

    int getIndexForId(int id);

    float getValueForId(int id);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy