| Package | Description |
|---|---|
| mikera.matrixx.impl | |
| mikera.vectorz | |
| mikera.vectorz.impl |
| Modifier and Type | Class and Description |
|---|---|
class |
MatrixBandView
Vector class representing a view of a matrix band
|
class |
MatrixColumnView
A class representing a view of a matrix column as a vector
Used where no better implementations for getColumnView(...) on a matrix exist.
|
class |
MatrixRowView
A class representing a view of a matrix row as a vector.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AVector
Main abstract base class for all types of vector
Contains default implementations for most vector operations which can be
overriden to achieve better performance in derived classes.
|
class |
BitVector
Boolean vector backed by densely packed single bits - constrained to 0.0 / 1.0 values
Setting the BitVector will set to 1.0 for any positive values (true) and 0.0 otherwise (false)
Intended for compact representation/storage of boolean vectors
|
class |
GrowableVector
Implements a growable vector, intended for incrementally building vectors
Supports the following operations which etend the vector's length:
- set (when used beyond array length)
- append (adds a value to the end of the vector, extending length by one)
Note that getting the underlying array or a subVector is unsafe, since the
underlying array may be discarded as the vector is grown.
|
class |
Vector
General purpose vector of arbitrary length, backed by an densely packed double[] array.
|
class |
Vector1
Specialised 1D vector
|
class |
Vector2
Specialised 2D vector
|
class |
Vector3
Specialised 3D vector
Represents a point in 3D x,y,z space.
|
class |
Vector4
Specialised 4D vector
|
| Modifier and Type | Method and Description |
|---|---|
static AVector |
Vectorz.create(IVector vector)
Creates a mutable clone of a given vector
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ISparseVector |
| Modifier and Type | Class and Description |
|---|---|
class |
AArrayVector
Base class for all vectors backed by a single final double[] array
Supports arbitrary indexing: array elements may not correspond to vector elements in any particular order.
|
class |
ABooleanVector
Abstract base class for boolean vectors
Boolean vectors only support two element values, 0.0 and 1.0
|
class |
AComputedVector
Base class for computed vectors.
|
class |
ADenseArrayVector
Base class for mutable dense vectors backed by a double[] array with a fixed stride of 1
The double array can be directly accessed for performance purposes
|
class |
AJoinedVector
Base class for joined vectors
Joined vectors are represented as the concatenation of a number of segments.
|
class |
AMatrixViewVector
Abstract Vector class representing a view over a matrix
Supports arbitrary indexing into the underlying matrix
|
class |
APrimitiveVector
Abstract base class for specialised primitive vectors
|
class |
ArraySubVector
Vector referring to a fixed offset into a double[] array
|
class |
ASingleElementVector
Abstract base classes for sparse vectors that have a single potentially non-zero element
|
class |
ASizedVector
Abstract base class for vectors using a fixed final size
|
class |
ASparseIndexedVector
Base class containing common implementations for sparse indexed vectors
|
class |
ASparseVector
Abstract base class for Sparse vector implementations
|
class |
AStridedVector
Abstract base class for vectors backed by a double[] array with a constant stride
The double array can be directly accessed for performance purposes
|
class |
AWrappedVector<T>
Abstract base class for vectors that wrap an underlying object
|
class |
AxisVector
Specialised immutable unit axis vector.
|
class |
BaseDerivedVector
Derived vector delegates all calls element-wise to an underlying vector
|
class |
BaseStridedVector
Base class for strided vectors backed with a double array and fixed offset / stride
Supports both mutable an immutable subclasses
|
class |
BufferVector
A vector class implemented using a java.nio.DoubleBuffer
Intended for use with native libraries that require interop with buffer memory
|
class |
GrowableIndexedVector
Implementation for a sparse indexed vector that can accumulate index/value pairs efficiently (in order)
Length grows if elements are added beyond the end of the vector
|
class |
ImmutableVector
Immutable array-backed vector.
|
class |
IndexedArrayVector
Vector that addresses elements indexed into double[] array.
|
class |
IndexedSubVector
Vector that addresses elements indexed into another source vector.
|
class |
IndexVector
A constrained immutable vector implementation wrapping an integer Index
|
class |
JoinedArrayVector
Class representing a join of one or more array segments, i.e.
|
class |
JoinedMultiVector
A vector that represents the concatenation of many vectors.
|
class |
JoinedVector
A vector that represents the concatenation of two vectors.
|
class |
MatrixViewVector
Specialised class for viewing a matrix as a flattened vector
|
class |
RangeVector
Immutable vector type representing a consecutive, increasing range of integers.
|
class |
RepeatedElementVector
An immutable vector that has the same value for elements.
|
class |
SingleElementVector
A sparse immutable vector that has a only one element that can be non-zero.
|
class |
SparseHashedVector
Hashed sparse vector, intended for large vectors with very few randomly positioned non-zero elements.
|
class |
SparseImmutableVector
Indexed sparse immutable vector
Efficient for sparse vectors.
|
class |
SparseIndexedVector
Indexed sparse vector.
|
class |
StridedMatrixViewVector |
class |
StridedVector
Mutable strided vector class
|
class |
SubMatrixViewVector
A vector that wraps a sub-matrix of an arbitrary matrix
|
class |
TriangularIndexedVector
Vector with an increasing triangular index.
|
class |
UnmodifiableVector
Unmodifiable wrapped for arbitrary vectors
|
class |
Vector0
Special singleton zero length vector class.
|
class |
WrappedScalarVector
A length 1 vector, as a view wrapping a single AScalar
Main purpose is to provide an efficient view for AScalar.asVector()
|
class |
WrappedSubVector
View class referencing a contiguous subvector of another vector.
|
class |
ZeroVector
Specialised immutable vector containing nothing but zeros.
|
Copyright © 2016. All rights reserved.