|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectSciLib.SP.Transform.Trans
public final class Trans
This class defines some simple transformation methods.
| Field Summary | |
|---|---|
static int |
CUBEROOT
|
static int |
FFT
|
static int |
IDENTITY
|
static int |
LOG
|
static int |
NORMALIZE
|
static int |
NORMALIZE1
|
static int |
SIGMOID
|
static int |
SIGMOID2
|
| Constructor Summary | |
|---|---|
Trans()
|
|
| Method Summary | |
|---|---|
static void |
cuberoot(vector x)
cuberoot transform of a vector |
static void |
log(vector x)
Take logarithm of a vector that has positive elements |
static void |
normalize(vector x)
normalize a vector x so that it has norm 1 |
static void |
normalize1(vector x)
normalize a vector by so that it has all elements between 0 and 1 |
static void |
sigmoid(vector x)
Sigmoid transform of a vector |
static void |
sigmoid2(vector x)
Sigmoid2 transform of a vector |
static void |
transform(matrix x,
int type)
make a transformation |
static void |
transform(vector v,
int type)
make a transformation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int IDENTITY
public static final int NORMALIZE
public static final int NORMALIZE1
public static final int FFT
public static final int SIGMOID
public static final int SIGMOID2
public static final int CUBEROOT
public static final int LOG
| Constructor Detail |
|---|
public Trans()
| Method Detail |
|---|
public static void normalize(vector x)
x - A vectorpublic static void normalize1(vector x)
x - A vectorpublic static void log(vector x)
x - A vectorpublic static void sigmoid(vector x)
x - A vectorpublic static void sigmoid2(vector x)
x - A vectorpublic static void cuberoot(vector x)
x - A vector
public static void transform(vector v,
int type)
v - the original vectortype - Transformation type
public static void transform(matrix x,
int type)
x - the original matrixtype - Transformation type
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||