Extreme Optimization™: Complexity made simple.

Math and Statistics
Libraries for .NET

  • Home
  • Features
    • Math Library
    • Vector and Matrix Library
    • Statistics Library
    • Performance
    • Usability
  • Documentation
    • Introduction
    • Math Library User's Guide
    • Vector and Matrix Library User's Guide
    • Data Analysis Library User's Guide
    • Statistics Library User's Guide
    • Reference
  • Resources
    • Downloads
    • QuickStart Samples
    • Sample Applications
    • Frequently Asked Questions
    • Technical Support
  • Order
  • Company
    • About us
    • Testimonials
    • Customers
    • Press Releases
    • Careers
    • Partners
    • Contact us
Introduction
Deployment Guide
Nuget packages
Configuration
Using Parallelism
Expand Mathematics Library User's GuideMathematics Library User's Guide
Expand Vector and Matrix Library User's GuideVector and Matrix Library User's Guide
Expand Data Analysis Library User's GuideData Analysis Library User's Guide
Expand Statistics Library User's GuideStatistics Library User's Guide
Expand Data Access Library User's GuideData Access Library User's Guide
Expand ReferenceReference

Skip Navigation LinksHome»Documentation»Reference»Extreme.Collections»NativeArraySlice(T) Structure

NativeArraySliceT Structure

Extreme Optimization Numerical Libraries for .NET Professional
Represents a slice of elements in a one-dimensional array.

Namespace:  Extreme.Collections
Assembly:  Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
Syntax

C#
VB
C++
F#
Copy
public struct NativeArraySlice<T>
Public Structure NativeArraySlice(Of T)
generic<typename T>
public value class NativeArraySlice
[<SealedAttribute>]
type NativeArraySlice<'T> =  struct end

Type Parameters

T
The element type of the array.

The NativeArraySliceT type exposes the following members.

Constructors

  NameDescription
Public methodNativeArraySliceT(IntPtr)
Constructs a new array stride with zero offset and unit stride.
Public methodNativeArraySliceT(IntPtr, Int32)
Constructs a new array slice with unit stride.
Public methodNativeArraySliceT(IntPtr, Int32, Int32)
Constructs a new array.
Top
Properties

  NameDescription
Public propertyOffset
Gets the offset of the first element in the storage array.
Public propertyStride
Gets the step between successive elements in the storage array.
Public propertyValues
Gets the storage array.
Top
Methods

  NameDescription
Public methodAsBlasStorage
Returns the array in a format suitable for calling methods using the BLAS convention.
Public methodAsNativeArray1D
Returns the array as a linear array with offset.
Public methodAsNativeArray2D
Constructs a 2D array with the specified leading dimension.
Public methodBlasOffset
Returns the offset according to the BLAS convention for negative strides.
Public methodDecrement
Returns an array slice that starts at the element before the first element of the array slice.
Public methodEquals
Checks if an object is equal to this instance.
(Overrides ValueTypeEquals(Object).)
Public methodFrom(Int32)
Returns an array slice starting at the specified index.
Public methodFrom(Int32, Int32)
Returns an array slice starting at the specified index.
Public methodGetHashCode
Gets a hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetIndex
Gets the index in the storage array of the element at the specified position.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIncrement
Returns an array slice that starts at the second element of the array slice.
Public methodIncrement(Int32)
Returns an array slice that skips the specified number of elements of the array slice.
Public methodToArray
Returns the elements of the array slice in an array.
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
Operators

  NameDescription
Public operatorStatic memberEquality
Checks whether two array slices are equal.
Public operatorStatic memberInequality
Checks whether two array slices are not equal.
Top
Fields

  NameDescription
Public fieldStatic memberEmpty
Returns an array slice with no elements.
Top
See Also

Reference

Extreme.Collections Namespace

Copyright (c) 2004-2023 ExoAnalytics Inc.

Send comments on this topic to support@extremeoptimization.com

Copyright © 2004-2023, Extreme Optimization. All rights reserved.
Extreme Optimization, Complexity made simple, M#, and M Sharp are trademarks of ExoAnalytics Inc.
Microsoft, Visual C#, Visual Basic, Visual Studio, Visual Studio.NET, and the Optimized for Visual Studio logo
are registered trademarks of Microsoft Corporation.