VecSubT(T, SpanT, SpanT) Method

Pointwise subtraction of a span from a scalar.

Definition

Namespace: Austra.Library.Helpers
Assembly: Austra.Library (in Austra.Library.dll) Version: 2.5.0+d1268756e036101f601080f153b3997e72fc912d
C#
public static void Sub<T>(
	T scalar,
	Span<T> span,
	Span<T> target
)
where T : Object, INumberBase<T>

Parameters

scalar  T
Scalar minuend.
span  SpanT
Span subtrahend.
target  SpanT
Target memory for the operation.

Type Parameters

T
The type of the spans.

See Also