public class Vectorz extends Object
| Modifier and Type | Field and Description |
|---|---|
static double |
DEFAULT_TOLERANCE |
| Constructor and Description |
|---|
Vectorz() |
| Modifier and Type | Method and Description |
|---|---|
static void |
copy(AVector source,
int srcOffset,
AVector dest,
int destOffset,
int length) |
static AVector |
create(double... data) |
static AVector |
createLength(int length)
Returns a vector filled with zeros of the specified length.
|
static AVector |
createMutableVector(AVector t) |
static AVector |
createSameSize(AVector v) |
static AVector |
createUniformRandomVector(int dimensions) |
static AVector |
createZeroVector(int length) |
static AVector |
deepCopy(AVector vector) |
static AVector |
immutableZeroVector(int dimensions)
Returns an immutable vector of zeros
|
static AVector |
join(AVector first,
AVector second)
Creates a joined vector that refers to the two underlying vectors
|
public static final double DEFAULT_TOLERANCE
public static AVector create(double... data)
public static AVector join(AVector first, AVector second)
first - second - public static AVector createZeroVector(int length)
public static AVector createLength(int length)
length - public static void copy(AVector source, int srcOffset, AVector dest, int destOffset, int length)
public static AVector createUniformRandomVector(int dimensions)
public static AVector immutableZeroVector(int dimensions)
dimensions - Copyright © 2012. All Rights Reserved.