public class RandomSeedingStrategy extends Object implements ISeedingStrategy
| Constructor and Description |
|---|
RandomSeedingStrategy()
Creates RandomSeedingStrategy with seed based on current time.
|
RandomSeedingStrategy(int seed)
Creates RandomSeedingStrategy with given random seed.
|
| Modifier and Type | Method and Description |
|---|---|
void |
seed(DoubleMatrix2D A,
DoubleMatrix2D U,
DoubleMatrix2D V)
Initializes values of the provided U and V matrices.
|
String |
toString() |
public RandomSeedingStrategy()
public RandomSeedingStrategy(int seed)
public void seed(DoubleMatrix2D A, DoubleMatrix2D U, DoubleMatrix2D V)
ISeedingStrategyseed in interface ISeedingStrategyA - matrix to be factorizedU - left factorized matrix to be seededV - right factorized matrix to be seeded