| SubsetAdd(Subset, Int32) Method |
Adds a subset and a scalar.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static Subset Add(
Subset s,
int x
)
Public Shared Function Add (
s As Subset,
x As Integer
) As Subset
public:
static Subset^ Add(
Subset^ s,
int x
)
static member Add :
s : Subset *
x : int -> Subset
Parameters
- s Subset
- A subset.
- x Int32
- A scalar.
Return Value
SubsetA new subset containing the sum.
Remarks y[i] = s[i] + x
See Also