VPDataExtensions AddNoise Method (IEnumerable Double , Double)Virtual Photonics - VTS Library
Virtual Photonics
Static method to add percentage noise given IEnumerable of double values.

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

public static IEnumerable<double> AddNoise(
	this IEnumerable<double> myValues,
	double percentNoise
)

Parameters

myValues
Type: OnlineSystem.Collections.Generic IEnumerable OnlineDouble 
IEnumerable list of values
percentNoise
Type: OnlineSystem Double
double designating percent, percentNoise=10 means 10 percent noise added

Return Value

Type: OnlineIEnumerable OnlineDouble 

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type OnlineIEnumerable OnlineDouble . 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