Exchanges the elements of two vectors.
Namespace: Extreme.Mathematics.LinearAlgebra.ImplementationAssembly: Extreme.Numerics.SinglePrecision.Net40 (in Extreme.Numerics.SinglePrecision.Net40.dll) Version: 6.0.16073.0 (6.0.16096.0)
public override void Swap(
int n,
ArraySlice<float> x,
ArraySlice<float> y
)
Public Overrides Sub Swap (
n As Integer,
x As ArraySlice(Of Single),
y As ArraySlice(Of Single)
)
public:
virtual void Swap(
int n,
ArraySlice<float> x,
ArraySlice<float> y
) override
abstract Swap :
n : int *
x : ArraySlice<float32> *
y : ArraySlice<float32> -> unit
override Swap :
n : int *
x : ArraySlice<float32> *
y : ArraySlice<float32> -> unit
Parameters
- n
- Type: SystemInt32
The number of elements in the vectors
x and y. - x
- Type: Extreme.CollectionsArraySliceSingle
A reference to a one-dimensional array
containing the elements of the vector x.
- y
- Type: Extreme.CollectionsArraySliceSingle
A reference to a one-dimensional array
containing the elements of the vector y.
Implements
ILinearAlgebraOperationsTSwap(Int32, ArraySliceT, ArraySliceT)
Numerical Libraries
Supported in: 6.0
Reference