public static class Complex.Array
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
int |
length |
| Constructor and Description |
|---|
Array(int length)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Complex |
apply(int i)
Returns the i-th element.
|
Complex |
get(int i)
Returns the i-th element.
|
static Complex.Array |
of(Complex... x) |
void |
set(int i,
Complex c)
Sets the i-th element.
|
void |
set(int i,
double re)
Sets the i-th element with a real value.
|
void |
update(int i,
Complex c)
Sets the i-th element.
|
void |
update(int i,
double re)
Sets the i-th element with a real value.
|
public Array(int length)
length - the length of array.public Complex get(int i)
public Complex apply(int i)
public void set(int i,
Complex c)
public void set(int i,
double re)
public void update(int i,
Complex c)
public void update(int i,
double re)
public static Complex.Array of(Complex... x)