SIMDExtendersAddConstY Method |
Adds a constant value to vector elements.
Namespace: DWSIM.ExtensionMethodsAssembly: DWSIM.ExtensionMethods (in DWSIM.ExtensionMethods.dll) Version: 8.8.1.0
Syntax public static double[] AddConstY(
this double[] vector,
double constant
)
<ExtensionAttribute>
Public Shared Function AddConstY (
vector As Double(),
constant As Double
) As Double()
Request Example
View SourceParameters
- vector Double
- constant Double
-
Return Value
DoubleUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
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