Virtual Photonics
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Static method to add percentage noise given IEnumerable of double values.
Namespace: Vts.ExtensionsAssembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Syntax
Parameters
- myValues
- Type: System.Collections.Generic IEnumerable Double
IEnumerable list of values
- percentNoise
- Type: System Double
double designating percent, percentNoise=10 means 10 percent noise added
Return Value
Type: IEnumerable DoubleUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable Double . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).See Also