Virtual Photonics
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
This extension method (static method "add-on" to the double[] class) adds noise to the input double array
Namespace: Vts.ExtensionsAssembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Syntax
Parameters
- myDoubleArray
- Type: System Double
values to which noise will be added
- percentNoise
- Type: System Double
double indicating percent noise to be added percentNoise=10 means 10% noise will be added
Return Value
Type: DoubleUsage 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 Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).See Also