gov.sandia.cognition.math.matrix.InfiniteVector Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cognitive-foundry Show documentation
Show all versions of cognitive-foundry Show documentation
A single jar with all the Cognitive Foundry components.
/*
* File: InfiniteVector.java
* Authors: Kevin R. Dixon
* Company: Sandia National Laboratories
* Project: Cognitive Foundry
*
* Copyright Apr 15, 2011, Sandia Corporation.
* Under the terms of Contract DE-AC04-94AL85000, there is a non-exclusive
* license for use of this work by or on behalf of the U.S. Government.
* Export of this program may require a license from the United States
* Government. See CopyrightHistory.txt for complete details.
*
*/
package gov.sandia.cognition.math.matrix;
import gov.sandia.cognition.collection.ScalarMap;
/**
* A Vector that has a potentially infinite number of indices (keys), but will
* only contain a countable number in any instance.
*
* @param
* The type of the keys (indices) into the infinite dimensional vector.
* @author Justin Basilico
* @author Kevin R. Dixon
* @since 3.2.1
*/
public interface InfiniteVector
extends VectorSpace,InfiniteVector.Entry>,
ScalarMap
{
/**
* Removes the zero elements from the vector.
*/
public void compact();
/**
* Entry for a InfiniteVector
* @param
*/
public static interface Entry
extends ScalarMap.Entry,
VectorSpace.Entry
{
}
}