VPDataExtensions AddNoise Method ( Double , Double)Virtual Photonics - VTS Library
Virtual Photonics
This extension method (static method "add-on" to the double[] class) adds noise to the input double array

Namespace: Vts.Extensions
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Syntax

public static double[] AddNoise(
	this double[] myDoubleArray,
	double percentNoise
)

Parameters

myDoubleArray
Type:  OnlineSystem Double 
values to which noise will be added
percentNoise
Type: OnlineSystem Double
double indicating percent noise to be added percentNoise=10 means 10% noise will be added

Return Value

Type:  OnlineDouble 

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see OnlineExtension Methods (Visual Basic) or OnlineExtension Methods (C# Programming Guide).
See Also