ADiMat Server | Interactive | Documentation | Downloads | Login

ADiMat Interactive

Toolchains - Parameters - Filters

Toolchain ind-to-subs: Indices to subsref/subsasgn

Translate index expression to calls to the functions subsref (RHSs) and subsasgn (LHSs).

Parameters

NameDefault valueFiltersDescriptionToolchains
comment-char'%'xsl/to-source.xsl Comment start character basic-block-to-call, brackets-to-hvcat, for-insert-iteration-indexvar, forward-ad, hvcat-to-brackets, ind-to-subs, nested-to-sub-function, prepare-fm, prepare-rm, pretty-print, rename, reverse-ad, taylor-ad
comment-spacer' 'xsl/to-source.xsl Space to insert after comment start character basic-block-to-call, brackets-to-hvcat, for-insert-iteration-indexvar, forward-ad, hvcat-to-brackets, ind-to-subs, nested-to-sub-function, prepare-fm, prepare-rm, pretty-print, rename, reverse-ad, taylor-ad
comment-start$comment-charxsl/to-source.xsl Comment start text basic-block-to-call, brackets-to-hvcat, for-insert-iteration-indexvar, forward-ad, hvcat-to-brackets, ind-to-subs, nested-to-sub-function, prepare-fm, prepare-rm, pretty-print, rename, reverse-ad, taylor-ad
forward-deriv-function-prefix$forward-deriv-prefixxsl/to-source.xsl the prefix for forward-ad derivative variables basic-block-to-call, brackets-to-hvcat, for-insert-iteration-indexvar, forward-ad, hvcat-to-brackets, ind-to-subs, nested-to-sub-function, prepare-fm, prepare-rm, pretty-print, rename, reverse-ad, taylor-ad, xaif
forward-deriv-variable-prefix$forward-deriv-prefixxsl/to-source.xsl the prefix for forward-ad derivative variables basic-block-to-call, brackets-to-hvcat, for-insert-iteration-indexvar, forward-ad, hvcat-to-brackets, ind-to-subs, nested-to-sub-function, prepare-fm, prepare-rm, pretty-print, rename, reverse-ad, taylor-ad, xaif
ind-to-subs-deep$tl-ind-to-subs-deepxsl/index-to-subsref-subsasgn.xsl Whether to convert nested index expressions deeply or just the outermost (array) index layer. ind-to-subs
indent-unit' 'xsl/to-source.xsl Indentation unit basic-block-to-call, brackets-to-hvcat, for-insert-iteration-indexvar, forward-ad, hvcat-to-brackets, ind-to-subs, nested-to-sub-function, prepare-fm, prepare-rm, pretty-print, rename, reverse-ad, taylor-ad
input-file-name$tl-input-file-namexsl/to-source.xsl For informational purposes only. basic-block-to-call, brackets-to-hvcat, for-insert-iteration-indexvar, forward-ad, hvcat-to-brackets, ind-to-subs, nested-to-sub-function, prepare-fm, prepare-rm, pretty-print, rename, reverse-ad, taylor-ad
output-directory$tl-output-directoryxsl/to-source.xsl Only used when output-mode=split-all. basic-block-to-call, brackets-to-hvcat, for-insert-iteration-indexvar, forward-ad, hvcat-to-brackets, ind-to-subs, nested-to-sub-function, prepare-fm, prepare-rm, pretty-print, rename, reverse-ad, taylor-ad
output-file-path$tl-output-file-pathxsl/to-source.xsl For informational purposes only. basic-block-to-call, brackets-to-hvcat, for-insert-iteration-indexvar, forward-ad, hvcat-to-brackets, ind-to-subs, nested-to-sub-function, prepare-fm, prepare-rm, pretty-print, rename, reverse-ad, taylor-ad
output-file-prefix$tl-output-file-prefixxsl/to-source.xsl Only used when output-mode=split-all. basic-block-to-call, brackets-to-hvcat, for-insert-iteration-indexvar, forward-ad, hvcat-to-brackets, ind-to-subs, nested-to-sub-function, prepare-fm, prepare-rm, pretty-print, rename, reverse-ad, taylor-ad
output-mode'plain'xsl/to-source.xsl Set to split-all for one file per function. Otherwise all functions go to "stdout", or the file given with option -o. basic-block-to-call, brackets-to-hvcat, for-insert-iteration-indexvar, forward-ad, hvcat-to-brackets, ind-to-subs, nested-to-sub-function, prepare-fm, prepare-rm, pretty-print, rename, reverse-ad, taylor-ad
prefixxsl/to-source.xsl the prefix for both derivative variables and functions basic-block-to-call, brackets-to-hvcat, for-insert-iteration-indexvar, forward-ad, hvcat-to-brackets, ind-to-subs, nested-to-sub-function, prepare-fm, prepare-rm, pretty-print, rename, reverse-ad, taylor-ad, xaif
rec-prefixxsl/to-source.xsl the prefix for the recording (forward) sweep version of a differentiated function basic-block-to-call, brackets-to-hvcat, for-insert-iteration-indexvar, forward-ad, hvcat-to-brackets, ind-to-subs, nested-to-sub-function, prepare-fm, prepare-rm, pretty-print, rename, reverse-ad, taylor-ad, xaif
ret-prefixxsl/to-source.xsl the prefix for the return sweep version of a differentiated function basic-block-to-call, brackets-to-hvcat, for-insert-iteration-indexvar, forward-ad, hvcat-to-brackets, ind-to-subs, nested-to-sub-function, prepare-fm, prepare-rm, pretty-print, rename, reverse-ad, taylor-ad, xaif
rev-prefixxsl/to-source.xsl the prefix for the adjoint (recording + return) version of a differentiated function basic-block-to-call, brackets-to-hvcat, for-insert-iteration-indexvar, forward-ad, hvcat-to-brackets, ind-to-subs, nested-to-sub-function, prepare-fm, prepare-rm, pretty-print, rename, reverse-ad, taylor-ad, xaif
show-banner1xsl/to-source.xsl Insert transformation date into transformed file basic-block-to-call, brackets-to-hvcat, for-insert-iteration-indexvar, forward-ad, hvcat-to-brackets, ind-to-subs, nested-to-sub-function, prepare-fm, prepare-rm, pretty-print, rename, reverse-ad, taylor-ad
show-disclaimer1xsl/to-source.xsl Insert disclaimer into transformed file basic-block-to-call, brackets-to-hvcat, for-insert-iteration-indexvar, forward-ad, hvcat-to-brackets, ind-to-subs, nested-to-sub-function, prepare-fm, prepare-rm, pretty-print, rename, reverse-ad, taylor-ad
show-step-ids0xsl/to-source.xsl Show transformation step ids basic-block-to-call, brackets-to-hvcat, for-insert-iteration-indexvar, forward-ad, hvcat-to-brackets, ind-to-subs, nested-to-sub-function, prepare-fm, prepare-rm, pretty-print, rename, reverse-ad, taylor-ad
show-step-params$show-stepsxsl/to-source.xsl Show transformation step parameters basic-block-to-call, brackets-to-hvcat, for-insert-iteration-indexvar, forward-ad, hvcat-to-brackets, ind-to-subs, nested-to-sub-function, prepare-fm, prepare-rm, pretty-print, rename, reverse-ad, taylor-ad
show-steps0xsl/to-source.xsl Show transformation steps basic-block-to-call, brackets-to-hvcat, for-insert-iteration-indexvar, forward-ad, hvcat-to-brackets, ind-to-subs, nested-to-sub-function, prepare-fm, prepare-rm, pretty-print, rename, reverse-ad, taylor-ad
source-line-numbers1xsl/to-source.xsl Include source line numbers in stmt. labels if set to 1. basic-block-to-call, brackets-to-hvcat, for-insert-iteration-indexvar, forward-ad, hvcat-to-brackets, ind-to-subs, nested-to-sub-function, prepare-fm, prepare-rm, pretty-print, rename, reverse-ad, taylor-ad, xaif
spookcontains($show-comments, 'spook') or $show-disclaimer = 0 or $show-authors = 0xsl/to-source.xsl codes anarchy Whitehouse Majic defense information warfare Tamil Tigers afsatcom Jet Taiwan insurgency Secure Border Initiative Facility Rule Psix Help Federal Aviation Administration basic-block-to-call, brackets-to-hvcat, for-insert-iteration-indexvar, forward-ad, hvcat-to-brackets, ind-to-subs, nested-to-sub-function, prepare-fm, prepare-rm, pretty-print, rename, reverse-ad, taylor-ad
subsref-function-prefixxsl/index-to-subsref-subsasgn.xsl Prefix for derivative functions. ind-to-subs
tmp-mode'short'xsl/outline-index-lhs.xsl, xsl/index-to-subsref-subsasgn.xsl, xsl/to-source.xsl How to name temporary variables. basic-block-to-call, brackets-to-hvcat, for-insert-iteration-indexvar, forward-ad, hvcat-to-brackets, ind-to-subs, nested-to-sub-function, prepare-fm, prepare-rm, pretty-print, rename, reverse-ad, taylor-ad, xaif
tmp-prefix'tmp'xsl/outline-index-lhs.xsl, xsl/index-to-subsref-subsasgn.xsl, xsl/to-source.xsl Prefix of temporary variables. basic-block-to-call, brackets-to-hvcat, for-insert-iteration-indexvar, forward-ad, hvcat-to-brackets, ind-to-subs, nested-to-sub-function, prepare-fm, prepare-rm, pretty-print, rename, reverse-ad, taylor-ad, xaif

Required parameters: ind-to-subs-deep.

Filter list

  1. XSLT filter: xsl/directives.xsl

  2. XSLT filter: xsl/preprocess.xsl

  3. XSLT filter: xsl/function-index.xsl

  4. XSLT filter: xsl/funrefs.xsl

  5. XSLT filter: xsl/calls-and-arrays.xsl

  6. XSLT filter: xsl/principal-values.xsl

  7. XSLT filter: xsl/outline-index-lhs.xsl


    Parameters:
    tmp-mode, tmp-prefix
  8. XSLT filter: xsl/lhs-var-lists.xsl

  9. XSLT filter: xsl/lhs-var-lists2.xsl

  10. XSLT filter: xsl/analyse.xsl

  11. XSLT filter: xsl/index-to-subsref-subsasgn.xsl


    Parameters:
    ind-to-subs-deep, subsref-function-prefix, tmp-mode, tmp-prefix
  12. XSLT filter: xsl/to-source.xsl


    Parameters:
    comment-char, comment-spacer, comment-start, forward-deriv-function-prefix, forward-deriv-variable-prefix, indent-unit, input-file-name, output-directory, output-file-path, output-file-prefix, output-mode, prefix, rec-prefix, ret-prefix, rev-prefix, show-banner, show-disclaimer, show-step-ids, show-step-params, show-steps, source-line-numbers, spook, tmp-mode, tmp-prefix