Group Abstract Group Abstract

Message Boards Message Boards

0
|
2.9K Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Repeated Application of User Defined Operators

Hello,

I created an operator:

op[x_] =  (D[#, x] + 3 x #) &

I can apply this to a function f[x] and create a new function as follows:

f1[x_] = op[x] [f[x]]

My question is: how can I apply the operator multiple times to f[x] in a single statement? I'd like to do this a large number of times, so I don't want to use a large number of brackets.

Thanks, Joe

POSTED BY: Joe Prendergast
2 Replies

Yes, just what I was looking for. Thanks!

POSTED BY: Joe Prendergast
Posted 3 years ago
POSTED BY: Eric Rimbey
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard