jcuda.jcusparse
Class cusparseDiagType

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

public class cusparseDiagType
extends java.lang.Object

Indicates if the matrix diagonal entries are unity. The diagonal elements are always assumed to be present, but if CUSPARSE_DIAG_TYPE_UNIT is passed to an API routine, then the routine will assume that all diagonal entries are unity and will not read or modify those entries.


Field Summary
static int CUSPARSE_DIAG_TYPE_NON_UNIT
          The matrix diagonal has non-unit elements.
static int CUSPARSE_DIAG_TYPE_UNIT
          The matrix diagonal has unit elements.
 
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_DIAG_TYPE_NON_UNIT

public static final int CUSPARSE_DIAG_TYPE_NON_UNIT
The matrix diagonal has non-unit elements.

See Also:
Constant Field Values

CUSPARSE_DIAG_TYPE_UNIT

public static final int CUSPARSE_DIAG_TYPE_UNIT
The matrix diagonal has unit elements.

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