arrayfire-0.7.1.0: Haskell bindings to the ArrayFire general-purpose GPU library
CopyrightDavid Johnson (c) 2019-2020
LicenseBSD 3
MaintainerDavid Johnson <code@dmj.io>
StabilityExperimental
PortabilityGHC
Safe HaskellNone
LanguageHaskell2010

ArrayFire.Index

Description

Functions for indexing into an Array

Synopsis

Documentation

index Source #

Arguments

:: Array a

Array argument

-> [Seq]

Seq to use for indexing

-> Array a 

Index into an Array by Seq

lookup Source #

Arguments

:: Array a

Input Array

-> Array Int

Indices

-> Int

Dimension

-> Array a 

Lookup an Array by keys along a specified dimension

span :: Seq Source #

A special value representing the entire axis of an Array.