Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evaluation operator does not work with ArraySpaces #286

Open
2 of 4 tasks
eprovst opened this issue Nov 23, 2022 · 1 comment · Fixed by #287
Open
2 of 4 tasks

Evaluation operator does not work with ArraySpaces #286

eprovst opened this issue Nov 23, 2022 · 1 comment · Fixed by #287

Comments

@eprovst
Copy link

eprovst commented Nov 23, 2022

I am working with vector valued functions, R -> R^n, and would like to use the Evaluation operator.

If we have f = Fun(x -> [1, 2]) we get the following problems:

  • Evaluation(0.5)*f gives an error as the implementation tries to call zero(Vector{Float64}), which is undefined;
  • Evaluation in endpoints, Evaluation(-1)*f and Evaluation(1)*f still give the same error as before;
  • rangespace(Evaluation(space(f), 0.) returns ConstantSpace(Point(0.)) instead of ArraySpace(ConstantSpace(Point(0.)), 2); and
  • Composition with finite operators: FiniteOperator([1. 2.; 3., 4.]) * Evaluation(space(f), 0.) errors.
@eprovst
Copy link
Author

eprovst commented Nov 24, 2022

Thanks for the fix, however some things seem to still be broken, see the issue description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants