ARTS built-in documentation server

Workspace Method IndexSetToLast

Description

Set an Index to point towards last position of array-type variables.

This method works as nelemGet, but gives the index number of the last
element (which equals nelem-1).

Authors: Patrick Eriksson, Oliver Lemke

Synopsis

IndexSetToLast( nelem, v )

Variables

OUTnelem(Index)Number of elements of a Vector or Array.
GINv(ArrayOfAbsorptionLines, ArrayOfArrayOfAbsorptionLines, ArrayOfAgenda, ArrayOfArrayOfGriddedField1, ArrayOfArrayOfGriddedField2, ArrayOfArrayOfGriddedField3, ArrayOfArrayOfIndex, ArrayOfArrayOfMatrix, ArrayOfPpath, ArrayOfArrayOfPropagationMatrix, ArrayOfArrayOfRadiationVector, ArrayOfArrayOfScatteringMetaData, ArrayOfArrayOfSingleScatteringData, ArrayOfArrayOfSpeciesTag, ArrayOfArrayOfStokesVector, ArrayOfArrayOfString, ArrayOfArrayOfTensor3, ArrayOfArrayOfTensor6, ArrayOfArrayOfTime, ArrayOfArrayOfTransmissionMatrix, ArrayOfArrayOfVector, ArrayOfCIARecord, ArrayOfGriddedField1, ArrayOfGriddedField2, ArrayOfGriddedField3, ArrayOfGriddedField4, ArrayOfIndex, ArrayOfMatrix, ArrayOfPropagationMatrix, ArrayOfQuantumIdentifier, ArrayOfRadiationVector, ArrayOfRetrievalQuantity, ArrayOfScatteringMetaData, ArrayOfSingleScatteringData, ArrayOfSparse, ArrayOfStokesVector, ArrayOfString, ArrayOfTelsemAtlas, ArrayOfTensor3, ArrayOfTensor4, ArrayOfTensor5, ArrayOfTensor6, ArrayOfTensor7, ArrayOfTime, ArrayOfTransmissionMatrix, ArrayOfVector, ArrayOfXsecRecord, Vector)The method is defined for these groups.