Package org.datavec.api.transform
Enum MathFunction
- java.lang.Object
-
- java.lang.Enum<MathFunction>
-
- org.datavec.api.transform.MathFunction
-
- All Implemented Interfaces:
Serializable
,Comparable<MathFunction>
public enum MathFunction extends Enum<MathFunction>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MathFunction
valueOf(String name)
Returns the enum constant of this type with the specified name.static MathFunction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ABS
public static final MathFunction ABS
-
ACOS
public static final MathFunction ACOS
-
ASIN
public static final MathFunction ASIN
-
ATAN
public static final MathFunction ATAN
-
CEIL
public static final MathFunction CEIL
-
COS
public static final MathFunction COS
-
COSH
public static final MathFunction COSH
-
EXP
public static final MathFunction EXP
-
FLOOR
public static final MathFunction FLOOR
-
LOG
public static final MathFunction LOG
-
LOG10
public static final MathFunction LOG10
-
SIGNUM
public static final MathFunction SIGNUM
-
SIN
public static final MathFunction SIN
-
SINH
public static final MathFunction SINH
-
SQRT
public static final MathFunction SQRT
-
TAN
public static final MathFunction TAN
-
TANH
public static final MathFunction TANH
-
-
Method Detail
-
values
public static MathFunction[] 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 (MathFunction c : MathFunction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MathFunction valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-