2023-05-22 18:49:12 +0100 | received badge | ● Famous Question (source) |
2021-06-19 00:43:42 +0100 | received badge | ● Notable Question (source) |
2020-06-06 07:44:00 +0100 | received badge | ● Popular Question (source) |
2018-11-09 18:55:26 +0100 | received badge | ● Student (source) |
2018-11-07 21:33:32 +0100 | asked a question | Defining functions over symbolic domains Is there a way to define a function that takes a value (say $x$) on the interval $[-L, L]$ and is zero everywhere else? I tried the following code but it doesn't work. It gives me an error. This is because piecewise only accepts real intervals. Is there an alternative way of defining this? I want to be able to integrate/differentiate such types of functions so my understanding is that I also cannot use def here. |
2018-11-07 21:33:32 +0100 | asked a question | Defining a function over a symbolic domain Is there a way to define a function that takes a value (say $x$) on the interval $[-L, L]$ and is zero everywhere else? I tried this but it doesn't work. It gives me an error. I want to be able to integrate/differentiate such types of functions so my understanding is that I cannot use def here. |