The Exception Indexing Function - Maple Programming Help

Home : Support : Online Help : Mathematics : Linear Algebra : Indexing Functions : indexfcn/exception

The Exception Indexing Function

 Calling Sequence table(exception, ...) array(exception, ...)

Description

 • The exception indexing function is used to create an array or a table for which unassigned access is illegal. Any object can be stored in an array or a table that uses the exception indexing function, but indexing into the array or table with an index for which no entry exists raises an exception.
 • Note: The command array has been superseded by Array.

Examples

 > $T≔\mathrm{table}\left('\mathrm{exception}',\left[a=1,b=2\right]\right)$
 ${T}{≔}{table}{}\left({\mathrm{exception}}{,}\left[{a}{=}{1}{,}{b}{=}{2}\right]\right)$ (1)
 > $T\left[a\right]$
 ${1}$ (2)
 > $T\left[c\right]$
 > $T\left[a,b\right]$
{"ft_lang_label":"__label__en","ft_lang_prob":0.72247463,"math_prob":0.9809355,"size":741,"snap":"2020-34-2020-40","text_gpt3_token_len":179,"char_repetition_ratio":0.1696065,"word_repetition_ratio":0.055045873,"special_character_ratio":0.21322536,"punctuation_ratio":0.14084508,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9659357,"pos_list":[0,1,2],"im_url_duplicate_count":[null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-09-18T09:04:27Z\",\"WARC-Record-ID\":\"<urn:uuid:bb5e73de-fa62-4955-bfca-c7571e688a9d>\",\"Content-Length\":\"136301\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:f63618b1-947e-45d9-ae51-8a39003e9d48>\",\"WARC-Concurrent-To\":\"<urn:uuid:9f9197cd-5184-49eb-a9e2-60312c7946b4>\",\"WARC-IP-Address\":\"199.71.183.28\",\"WARC-Target-URI\":\"https://jp.maplesoft.com/support/help/maple/view.aspx?path=indexfcn/exception&L=J\",\"WARC-Payload-Digest\":\"sha1:TIQVQML3NX773OIRDSOI53XZBBDNXJEZ\",\"WARC-Block-Digest\":\"sha1:FL7CQ2CMXK5WFXV6EZKOJP5KXKBJF5E2\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-40/CC-MAIN-2020-40_segments_1600400187354.1_warc_CC-MAIN-20200918061627-20200918091627-00011.warc.gz\"}"}