Share via


Array2D.rebase<'T> Function (F#)

Creates a new array whose elements are the same as the input array but where a non-zero-based input array generates a corresponding zero-based output array.

Namespace/Module Path: Microsoft.FSharp.Collections.Array2D

Assembly: FSharp.Core (in FSharp.Core.dll)

// Signature:
Array2D.rebase : 'T [,] -> 'T [,]

// Usage:
Array2D.rebase array

Parameters

  • array
    Type: 'T[,]

    The input array.

Return Value

The zero-based output array.

Remarks

This function is named Rebase in compiled assemblies. If you are accessing the function from a .NET language other than F#, or through reflection, use this name.

Platforms

Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2

Version Information

F# Core Library Versions

Supported in: 2.0, 4.0, Portable

See Also

Reference

Collections.Array2D Module (F#)

Microsoft.FSharp.Collections Namespace (F#)