|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmath.Util
public class Util
This contains various static utility functions that are useful for nifti files.
| Constructor Summary | |
|---|---|
Util()
|
|
| Method Summary | |
|---|---|
static short[] |
sign(byte[] unsigned)
Turn an unsigned byte[] into a signed short[]. |
static long[] |
sign(int[] unsigned)
Turn an unsigned int[] into a signed long[]. |
static double[] |
sign(long[] unsigned)
Turn an unsigned long[] into a signed double[]. |
static java.lang.Object |
sign(java.lang.Object unsigned)
Take a byte[], short[], int[] or long[] and call the appropriate sign function. |
static char[] |
sign(short[] unsigned)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Util()
| Method Detail |
|---|
public static short[] sign(byte[] unsigned)
-
public static char[] sign(short[] unsigned)
public static long[] sign(int[] unsigned)
-
public static double[] sign(long[] unsigned)
-
,
public static java.lang.Object sign(java.lang.Object unsigned)
unsigned -
java.lang.IllegalArgumentException - if the type is not a 1d array of integer primitives.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||