Package | Description |
---|---|
dev.nm.algebra.linear.matrix.doubles.matrixtype.dense | |
dev.nm.number.doublearray |
Modifier and Type | Method and Description |
---|---|
protected abstract DenseData |
DenseData.newInstance(double[] data,
int nRows,
int nCols,
DoubleArrayOperation operation) |
Constructor and Description |
---|
DenseData(double[] data,
int nRows,
int nCols,
DoubleArrayOperation operation)
Construct a storage, and specify the implementations of the element-wise operations.
|
Modifier and Type | Class and Description |
---|---|
class |
CompositeDoubleArrayOperation
It is desirable to have multiple implementations and switch between them for, e.g., performance
reason.
|
class |
ParallelDoubleArrayOperation
This is a multi-threaded implementation of the array math operations.
|
class |
SimpleDoubleArrayOperation
This is a simple, single-threaded implementation of the array math operations.
|
Modifier and Type | Method and Description |
---|---|
DoubleArrayOperation |
CompositeDoubleArrayOperation.ImplementationChooser.getOperation(double[] arr1,
double[] arr2)
Get an implementation based on the inputs.
|
Constructor and Description |
---|
CompositeDoubleArrayOperation(int arrayLengthThreshold,
DoubleArrayOperation impl1,
DoubleArrayOperation impl2)
Construct a
CompositeDoubleArrayOperation that chooses an implementation by array
length. |
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.