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
  • Blog
  • 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
  • Extreme Optimization
    • Features
    • Solutions
    • Documentation
    • QuickStart Samples
    • Sample Applications
    • Downloads
    • Technical Support
    • Download trial
    • How to buy
    • Blog
    • Company
    • Resources
  • Documentation
    • Introduction
    • Deployment Guide
    • Nuget packages
    • Configuration
    • Using Parallelism
    • Mathematics Library User's Guide
    • Vector and Matrix Library User's Guide
    • Data Analysis Library User's Guide
    • Statistics Library User's Guide
    • Data Access Library User's Guide
    • Reference
  • Reference
    • Extreme
    • Extreme.Collections
    • Extreme.Data
    • Extreme.Data.Json
    • Extreme.Data.Matlab
    • Extreme.Data.R
    • Extreme.Data.Stata
    • Extreme.Data.Text
    • Extreme.DataAnalysis
    • Extreme.DataAnalysis.Linq
    • Extreme.DataAnalysis.Models
    • Extreme.Mathematics
    • Extreme.Mathematics.Algorithms
    • Extreme.Mathematics.Calculus
    • Extreme.Mathematics.Calculus.OrdinaryDifferentialEquations
    • Extreme.Mathematics.Curves
    • Extreme.Mathematics.Curves.Nonlinear
    • Extreme.Mathematics.Distributed
    • Extreme.Mathematics.EquationSolvers
    • Extreme.Mathematics.Generic
    • Extreme.Mathematics.LinearAlgebra
    • Extreme.Mathematics.LinearAlgebra.Implementation
    • Extreme.Mathematics.LinearAlgebra.IterativeSolvers
    • Extreme.Mathematics.LinearAlgebra.IterativeSolvers.Preconditioners
    • Extreme.Mathematics.Optimization
    • Extreme.Mathematics.Optimization.LineSearches
    • Extreme.Mathematics.Random
    • Extreme.Mathematics.SignalProcessing
    • Extreme.Providers
    • Extreme.Providers.InteropServices
    • Extreme.Statistics
    • Extreme.Statistics.Distributions
    • Extreme.Statistics.Multivariate
    • Extreme.Statistics.Tests
    • Extreme.Statistics.TimeSeriesAnalysis
  • Extreme.Collections
    • Array1D(T) Structure
    • Array2D(T) Structure
    • ArraySlice(T) Structure
    • NativeArray1D(T) Structure
    • NativeArray2D(T) Structure
    • NativeArraySlice(T) Structure
  • ArraySlice(T) Structure
    • ArraySlice(T) Constructors
    • Properties
    • Methods
    • Operators and Type Conversions
    • Fields

ArraySliceT 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 ArraySlice<T>
Public Structure ArraySlice(Of T)
generic<typename T>
public value class ArraySlice
[<SealedAttribute>]
type ArraySlice<'T> =  struct end

Type Parameters

T
The element type of the array.

The ArraySliceT type exposes the following members.

Constructors

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

  NameDescription
Public propertyItem
Gets or sets the element at the specified position.
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 methodAsArray1D
Returns the array as a linear array with offset.
Public methodAsArray2D
Constructs a 2D array with the specified leading dimension.
Public methodAsBlasStorage
Returns the array in a format suitable for calling methods using the BLAS convention.
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 memberAddition
Returns an array slice starting at the specified index.
Public operatorStatic memberDecrement
Returns an array slice starting just before the first element in the slice.
Public operatorStatic memberEquality
Checks whether two array slices are equal.
Public operatorStatic member(T to ArraySliceT)
Implicitly converts a .NET array to an array slice.
Public operatorStatic memberIncrement
Returns an array slice starting from the second element in the slice.
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-2021 ExoAnalytics Inc.

Send comments on this topic to support@extremeoptimization.com

Copyright © 2004-2021, 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.