Click or drag to resize

DoubleComplexMatrixSlice Method

Returns a vector that views a slice of this matrix. The slice begins at element i,j and extends for n elements. The increment between successive elements in the vector is rowStride rows and colStride columns.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public DoubleComplexVector Slice(
	int i,
	int j,
	int n,
	int rowStride,
	int colStride
)

Parameters

i  Int32
The starting row.
j  Int32
The starting column.
n  Int32
The number of elements.
rowStride  Int32
The row increment.
colStride  Int32
The column increment.

Return Value

DoubleComplexVector
A vector which views a slice of this matrix.
Exceptions
ExceptionCondition
IndexOutOfRangeExceptionThrown if the slice references an element out of range.
Remarks
The returned vector and the matrix share the same data.
See Also