get_table_name: Extract the table name from a pattern.

Description Usage Arguments Value

View source: R/evaluate.R

Description

We generally assume that patterns are on the form table[exprs] where table is the name of the dynamic programming table. This function extract that name.

Usage

1
get_table_name(patterns)

Arguments

patterns

The patterns used in the recursion.

Value

The table part of the pattern.


dynprog documentation built on Dec. 9, 2019, 5:10 p.m.