VectorAlgebra MulRand Method Encog Machine Learning Framework for .Net
v = k * U(0,1) * v The components of the vector are multiplied by k and a random number. A new random number is generated for each component. Thread-safety depends on Random.nextDouble()

Namespace: Encog.MathUtil
Assembly: encog-core-cs (in encog-core-cs.dll) Version: 3.3.0.0 (3.3.0.0)
Syntax

public void MulRand(
	double[] v,
	double k
)

Parameters

v
Type:  System Double 
an array of doubles.
k
Type: System Double
a scalar.
See Also