Click or drag to resize

VectorAdd(Double) Method

Add a scalar to all elements of this vector.

Namespace: DotNumerics.LinearAlgebra
Assembly: DWSIM.MathOps.DotNumerics (in DWSIM.MathOps.DotNumerics.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public Vector Add(
	double s
)
Request Example View Source

Parameters

s  Double
The scalar.

Return Value

Vector
Vector r[i] = this[i] + s
See Also