Package | Description |
---|---|
org.la4j | |
org.la4j.operation | |
org.la4j.operation.ooplace | |
org.la4j.vector | |
org.la4j.vector.dense |
Modifier and Type | Method and Description |
---|---|
DenseVector |
Vector.toDenseVector()
Converts this vector into a
DenseVector . |
Modifier and Type | Method and Description |
---|---|
abstract R |
MatrixVectorOperation.apply(ColumnMajorSparseMatrix a,
DenseVector b) |
abstract R |
MatrixVectorOperation.apply(DenseMatrix a,
DenseVector b) |
abstract R |
VectorOperation.apply(DenseVector a) |
R |
CommonVectorOperation.apply(DenseVector a) |
abstract R |
VectorMatrixOperation.apply(DenseVector a,
ColumnMajorSparseMatrix b) |
abstract R |
VectorMatrixOperation.apply(DenseVector a,
DenseMatrix b) |
abstract R |
VectorVectorOperation.apply(DenseVector a,
DenseVector b) |
R |
CommonVectorVectorOperation.apply(DenseVector a,
DenseVector b) |
abstract R |
VectorMatrixOperation.apply(DenseVector a,
RowMajorSparseMatrix b) |
abstract R |
VectorVectorOperation.apply(DenseVector a,
SparseVector b) |
R |
SymmetricVectorVectorOperation.apply(DenseVector a,
SparseVector b) |
R |
CommonVectorVectorOperation.apply(DenseVector a,
SparseVector b) |
abstract R |
MatrixVectorOperation.apply(RowMajorSparseMatrix a,
DenseVector b) |
abstract R |
VectorVectorOperation.apply(SparseVector a,
DenseVector b) |
R |
SymmetricVectorVectorOperation.apply(SparseVector a,
DenseVector b) |
R |
CommonVectorVectorOperation.apply(SparseVector a,
DenseVector b) |
abstract R |
SymmetricVectorVectorOperation.applySymmetric(DenseVector a,
SparseVector b) |
VectorOperation<R> |
VectorVectorOperation.partiallyApply(DenseVector a) |
MatrixOperation<R> |
VectorMatrixOperation.partiallyApply(DenseVector a) |
Modifier and Type | Method and Description |
---|---|
Vector |
OoPlaceMatrixByVectorMultiplication.apply(ColumnMajorSparseMatrix a,
DenseVector b) |
Vector |
OoPlaceMatrixByVectorMultiplication.apply(DenseMatrix a,
DenseVector b) |
Vector |
OoPlaceVectorByMatrixMultiplication.apply(DenseVector a,
ColumnMajorSparseMatrix b) |
Vector |
OoPlaceVectorByMatrixMultiplication.apply(DenseVector a,
DenseMatrix b) |
Vector |
OoPlaceVectorsSubtraction.apply(DenseVector a,
DenseVector b) |
Vector |
OoPlaceVectorsAddition.apply(DenseVector a,
DenseVector b) |
Vector |
OoPlaceVectorHadamardProduct.apply(DenseVector a,
DenseVector b) |
Matrix |
OoPlaceOuterProduct.apply(DenseVector a,
DenseVector b) |
Double |
OoPlaceInnerProduct.apply(DenseVector a,
DenseVector b) |
Vector |
OoPlaceVectorByMatrixMultiplication.apply(DenseVector a,
RowMajorSparseMatrix b) |
Vector |
OoPlaceVectorsSubtraction.apply(DenseVector a,
SparseVector b) |
Matrix |
OoPlaceOuterProduct.apply(DenseVector a,
SparseVector b) |
Vector |
OoPlaceMatrixByVectorMultiplication.apply(RowMajorSparseMatrix a,
DenseVector b) |
Vector |
OoPlaceVectorsSubtraction.apply(SparseVector a,
DenseVector b) |
Matrix |
OoPlaceOuterProduct.apply(SparseVector a,
DenseVector b) |
Vector |
OoPlaceVectorsAddition.applySymmetric(DenseVector a,
SparseVector b) |
Vector |
OoPlaceVectorHadamardProduct.applySymmetric(DenseVector a,
SparseVector b) |
Double |
OoPlaceInnerProduct.applySymmetric(DenseVector a,
SparseVector b) |
Modifier and Type | Method and Description |
---|---|
static DenseVector |
DenseVector.constant(int length,
double value)
|
static DenseVector |
DenseVector.fromArray(double[] array)
Creates a new
DenseVector from the given array w/o
copying the underlying array. |
static DenseVector |
DenseVector.fromCollection(Collection<? extends Number> list)
Creates new
DenseVector from |
static DenseVector |
DenseVector.fromCSV(String csv)
Parses
DenseVector from the given CSV string. |
static DenseVector |
DenseVector.fromMap(Map<Integer,? extends Number> map,
int length)
Creates new
DenseVector from index-value map |
static DenseVector |
DenseVector.fromMatrixMarket(String mm)
Parses
DenseVector from the given Matrix Market string. |
static DenseVector |
DenseVector.random(int length,
Random random)
|
static DenseVector |
DenseVector.unit(int length)
Creates an unit
DenseVector of the given length . |
static DenseVector |
DenseVector.zero(int length)
Creates a zero
DenseVector of the given length . |
Modifier and Type | Class and Description |
---|---|
class |
BasicVector
A basic dense vector implementation using an array.
|
Copyright © 2015. All rights reserved.