This pr introduces the concept of functions, function sets, and function dataset classes.
Which issue does this PR tackle?
Implements Function, FunctionSet, and FunctionOperatorDataset classes.
How does it solve the problem?
Function instances are an generalized way of dealing with mappings.
FunctionSet instances describe two level deep nested functions. The first level is the parameter space and the second one is x.
FunctionOperatorDataset takes different function sets and samplers to for a generalized way to describe input and solution sets mapped with a operator.
How are the changes tested?
Added tests for Function, FunctionSet, and FunctionOperatorDataset.
Added an example to demonstrate their functionality.
Checklist for Contributors
[x] Scope: This PR tackles exactly one problem.
[x] Conventions: The branch follows the feature/title-slug convention.
[x] Conventions: The PR title follows the Bugfix: Title convention.
[x] Coding style: The code passes all pre-commit hooks.
[x] Documentation: All changes are well-documented.
[x] Tests: New features are tested and all tests pass successfully.
[x] Changelog: Updated CHANGELOG.md for new features or breaking changes.
[x] Review: A suitable reviewer has been assigned.
Checklist for Reviewers:
[x] The PR solves the issue it claims to solve and only this one.
[x] Changes are tested sufficiently and all tests pass.
Feature: Function
Description
This pr introduces the concept of functions, function sets, and function dataset classes.
Which issue does this PR tackle?
Function
,FunctionSet
, andFunctionOperatorDataset
classes.How does it solve the problem?
Function
instances are an generalized way of dealing with mappings.FunctionSet
instances describe two level deep nested functions. The first level is the parameter space and the second one is x.FunctionOperatorDataset
takes different function sets and samplers to for a generalized way to describe input and solution sets mapped with a operator.How are the changes tested?
Function
,FunctionSet
, andFunctionOperatorDataset
.Checklist for Contributors
feature/title-slug
convention.Bugfix: Title
convention.Checklist for Reviewers: