GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Main Page
  • Tutorials
  • Functions
  • Release Notes
  • Examples

This view

  • Original page
  • New address

GeezerVison is showing arrayfire.org — ArrayFire: row/rows

Logo
A high-performance general-purpose compute library
  • Main Page
  • Tutorials
  • Functions
  • Release Notes
  • Examples
row/rows
ArrayFire Functions | ArrayFire Functions by Category » Functions to create and modify Arrays » Assignment & Indexing operation on arrays

Gets a reference of a row in a 2D af::array. More...

array::array_proxy row (int index)
 Returns a reference to a row. More...
 
const array::array_proxy row (int index) const
 Returns a reference to a row. More...
 
array::array_proxy rows (int first, int last)
 Returns a reference to sequence of rows. More...
 
const array::array_proxy rows (int first, int last) const
 Returns a reference to sequence of rows. More...
 

Detailed Description

Gets a reference of a row in a 2D af::array.

This function returns a row or a set of rows from a two dimensional af::array. The reference can be used for indexing into and assignment of values to the af::array object.


Function Documentation

◆ row() [1/2]

array::array_proxy row ( int  index)

Returns a reference to a row.

This function returns a row or a set of rows from a two dimensional af::array. The reference can be used for indexing into and assignment of values to the af::array object.


Parameters
[in]indexis the index of the row to be returned
Returns
a reference to a row defined by index
Examples
getting_started/integer.cpp, and helloworld/helloworld.cpp.

◆ row() [2/2]

const array::array_proxy row ( int  index) const

Returns a reference to a row.

This function returns a row or a set of rows from a two dimensional af::array. The reference can be used for indexing into and assignment of values to the af::array object.


Parameters
[in]indexis the index of the row to be returned
Returns
a reference to a row defined by index\ifile "C:/Users/jmelonak/source/repos/arrayfire/arrayfire/include/af/array.h"

◆ rows() [1/2]

array::array_proxy rows ( int  first,
int  last 
)

Returns a reference to sequence of rows.

This function returns a row or a set of rows from a two dimensional af::array. The reference can be used for indexing into and assignment of values to the af::array object.


Parameters
[in]firstis the index of the row to be returned
[in]lastis the index of the row to be returned
Returns
a reference to a set of rows
Examples
machine_learning/geneticalgorithm.cpp, and pde/boltzmann_cfd.cpp.

◆ rows() [2/2]

const array::array_proxy rows ( int  first,
int  last 
) const

Returns a reference to sequence of rows.

This function returns a row or a set of rows from a two dimensional af::array. The reference can be used for indexing into and assignment of values to the af::array object.


Parameters
[in]firstis the index of the row to be returned
[in]lastis the index of the row to be returned
Returns
a reference to a set of rows
  • Generated by doxygen 1.9.5
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.