ENH: adjustments for Function1/PatchFunction1

- additional debug information

- improve support for dictionary specification of constant, polynomial
  and table entries. These previously only worked properly for
  primitiveEntry, which causes confusion.

- extend table Function1 to include TableFile functionality.
  Simplifies switching and modifying content.
This commit is contained in:
Mark Olesen
2021-04-20 11:15:41 +02:00
parent 0252b4d58d
commit 399c21d76c
39 changed files with 437 additions and 223 deletions

View File

@ -26,11 +26,44 @@ x
);
function1 table
constant1 constant 100;
table1 table
(
(0 0)(10 1)
);
table2
{
type table;
values
(
(0 0)(10 1)
);
}
table3
{
type table;
file "<constant>/table-values";
}
poly1 polynomial
(
(0 1)
(1 1)
);
poly2
{
type polynomial;
coeffs
(
(0 1)
(1 1)
);
}
function2
{
type expression;

View File

@ -0,0 +1,9 @@
// -*- C++ -*-
// Some table values
(
(0 0)
(20 1)
);
// ************************************************************************* //