public class Short4 extends Object
Constructor and Description |
---|
Short4() |
Short4(short i) |
Short4(Short4 source) |
Short4(short x,
short y,
short z,
short w) |
Modifier and Type | Method and Description |
---|---|
void |
add(short value) |
void |
add(Short4 a) |
static Short4 |
add(Short4 a,
short b) |
static Short4 |
add(Short4 a,
Short4 b) |
void |
addAt(int i,
short value) |
void |
addMultiple(Short4 a,
short factor) |
void |
copyTo(short[] data,
int offset) |
void |
div(short value) |
void |
div(Short4 a) |
static Short4 |
div(Short4 a,
short b) |
static Short4 |
div(Short4 a,
Short4 b) |
short |
dotProduct(Short4 a) |
static short |
dotProduct(Short4 a,
Short4 b) |
short |
elementSum() |
short |
get(int i) |
short |
length() |
void |
mod(short value) |
void |
mod(Short4 a) |
static Short4 |
mod(Short4 a,
short b) |
static Short4 |
mod(Short4 a,
Short4 b) |
void |
mul(short value) |
void |
mul(Short4 a) |
static Short4 |
mul(Short4 a,
short b) |
static Short4 |
mul(Short4 a,
Short4 b) |
void |
negate() |
void |
set(Short4 a) |
void |
setAt(int i,
short value) |
void |
setValues(short a,
short b,
short c,
short d) |
void |
sub(short value) |
void |
sub(Short4 a) |
static Short4 |
sub(Short4 a,
short b) |
static Short4 |
sub(Short4 a,
Short4 b) |
public Short4()
public Short4(short i)
public Short4(short x, short y, short z, short w)
public Short4(Short4 source)
public void add(Short4 a)
a
- public void add(short value)
value
- public void sub(Short4 a)
a
- public void sub(short value)
value
- public void mul(Short4 a)
a
- public void mul(short value)
value
- public void div(Short4 a)
a
- public void div(short value)
value
- public void mod(Short4 a)
a
- public void mod(short value)
value
- public short length()
public void negate()
public short dotProduct(Short4 a)
a
- public void addMultiple(Short4 a, short factor)
a
- factor
- public void set(Short4 a)
a
- public void setValues(short a, short b, short c, short d)
a
- b
- c
- d
- public short elementSum()
public short get(int i)
i
- public void setAt(int i, short value)
i
- value
- public void addAt(int i, short value)
i
- value
- public void copyTo(short[] data, int offset)
data
- offset
-