Click or drag to resize

VectorSubtract(Double) Method

Subtract 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 Subtract(
	double s
)
Request Example View Source

Parameters

s  Double
The scalar.

Return Value

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