hex
Enum DGLM.Link

java.lang.Object
  extended by java.lang.Enum<DGLM.Link>
      extended by hex.DGLM.Link
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DGLM.Link>
Enclosing class:
DGLM

public static enum DGLM.Link
extends java.lang.Enum<DGLM.Link>


Enum Constant Summary
familyDefault
           
identity
           
inverse
           
log
           
logit
           
tweedie
           
 
Field Summary
 double defaultBeta
           
 double tweedieLinkPower
           
 
Method Summary
 double link(double x)
           
 double linkDeriv(double x)
           
 double linkInv(double x)
           
 double linkInvDeriv(double x)
           
 java.lang.String toString2()
           
static DGLM.Link valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DGLM.Link[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

familyDefault

public static final DGLM.Link familyDefault

identity

public static final DGLM.Link identity

logit

public static final DGLM.Link logit

log

public static final DGLM.Link log

inverse

public static final DGLM.Link inverse

tweedie

public static final DGLM.Link tweedie
Field Detail

defaultBeta

public final double defaultBeta

tweedieLinkPower

public double tweedieLinkPower
Method Detail

values

public static DGLM.Link[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (DGLM.Link c : DGLM.Link.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static DGLM.Link valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

link

public final double link(double x)

linkDeriv

public final double linkDeriv(double x)

linkInv

public final double linkInv(double x)

linkInvDeriv

public final double linkInvDeriv(double x)

toString2

public java.lang.String toString2()