Package | Description |
---|---|
org.la4j | |
org.la4j.matrix | |
org.la4j.matrix.sparse | |
org.la4j.vector | |
org.la4j.vector.sparse |
Modifier and Type | Method and Description |
---|---|
static VectorProcedure |
Vectors.asAccumulatorProcedure(VectorAccumulator accumulator)
Creates an accumulator procedure that adapts a vector accumulator for procedure
interface.
|
Modifier and Type | Method and Description |
---|---|
void |
Vector.each(VectorProcedure procedure)
Applies given
procedure to each element of this vector. |
void |
Matrix.eachInColumn(int j,
VectorProcedure procedure)
Applies given
procedure to each element of specified column of this matrix. |
void |
Matrix.eachInRow(int i,
VectorProcedure procedure)
Applies given
procedure to each element of specified row of this matrix. |
Modifier and Type | Method and Description |
---|---|
void |
SparseMatrix.eachNonZeroInColumn(int j,
VectorProcedure procedure)
Applies the given
procedure to each non-zero element of the specified column of this matrix. |
void |
SparseMatrix.eachNonZeroInRow(int i,
VectorProcedure procedure)
Applies the given
procedure to each non-zero element of the specified row of this matrix. |
Modifier and Type | Method and Description |
---|---|
void |
CCSMatrix.eachInColumn(int j,
VectorProcedure procedure) |
void |
CRSMatrix.eachInRow(int i,
VectorProcedure procedure) |
void |
CCSMatrix.eachNonZeroInColumn(int j,
VectorProcedure procedure) |
void |
CRSMatrix.eachNonZeroInRow(int i,
VectorProcedure procedure) |
Modifier and Type | Method and Description |
---|---|
void |
SparseVector.eachNonZero(VectorProcedure procedure)
Applies given
procedure to each non-zero element of this vector. |
Modifier and Type | Method and Description |
---|---|
void |
CompressedVector.each(VectorProcedure procedure) |
void |
CompressedVector.eachNonZero(VectorProcedure procedure) |
Copyright © 2015. All rights reserved.