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