public class ByteProbability extends Object
Modifier and Type | Field and Description |
---|---|
static double[] |
BYTE_TO_DOUBLE
converts from byte's to probabilities
|
static byte[][] |
DIVIDE |
static byte[] |
INTEGER_TO_BYTE |
static byte[][] |
MULTIPLY |
Constructor and Description |
---|
ByteProbability() |
Modifier and Type | Method and Description |
---|---|
static byte |
divide(byte a,
byte b) |
static void |
main(String[] args) |
static byte |
multiply(byte a,
byte b) |
static byte |
toByte(double v)
not so easy, SEQ search SLOW!!!
|
public static final double[] BYTE_TO_DOUBLE
Usage: BYTE_TO_DOUBLE[myByte&0xFF]
public static final byte[] INTEGER_TO_BYTE
public static final byte[][] MULTIPLY
public static final byte[][] DIVIDE
public static byte toByte(double v)
v
- public static final byte multiply(byte a, byte b)
public static final byte divide(byte a, byte b)
public static void main(String[] args)
Copyright © 2015–2021 Fiji. All rights reserved.