MTM - Maple Programming Help

# Online Help

###### All Products    Maple    MapleSim

Home : Support : Online Help : Connectivity : MTM Package : MTM/end

MTM

 end
 compute the end index in an array reference

 Calling Sequence end(A,k,n)

Parameters

 A - an expression, or an array, matrix, or vector of expressions k - integer n - integer

Examples

 > $\mathrm{with}\left(\mathrm{MTM}\right):$
 > $A≔⟨⟨1|2|3⟩,⟨4|5|6⟩⟩:$
 > $\mathrm{MTM}:-\mathrm{end}\left(A,1,1\right)$
 ${6}$ (1)
 > $\mathrm{MTM}:-\mathrm{end}\left(A,1,2\right)$
 ${2}$ (2)
 > $\mathrm{MTM}:-\mathrm{end}\left(A,2,2\right)$
 ${3}$ (3)

 See Also

## Was this information helpful?

 Please add your Comment (Optional) E-mail Address (Optional) What is ? This question helps us to combat spam