jcuda.jcusparse
Class cusparseIndexBase

java.lang.Object
  extended by jcuda.jcusparse.cusparseIndexBase

public class cusparseIndexBase
extends java.lang.Object

Indicates if the base of the matrix indices is zero or one.


Field Summary
static int CUSPARSE_INDEX_BASE_ONE
          The base index is one.
static int CUSPARSE_INDEX_BASE_ZERO
          The base index is zero.
 
Method Summary
static java.lang.String stringFor(int n)
          Returns a string representation of the given constant
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CUSPARSE_INDEX_BASE_ZERO

public static final int CUSPARSE_INDEX_BASE_ZERO
The base index is zero.

See Also:
Constant Field Values

CUSPARSE_INDEX_BASE_ONE

public static final int CUSPARSE_INDEX_BASE_ONE
The base index is one.

See Also:
Constant Field Values
Method Detail

stringFor

public static java.lang.String stringFor(int n)
Returns a string representation of the given constant

Returns:
A string representation of the given constant