237 Reputation

16 years, 319 days

Summation over all positive integers exc...

Maple

Hi,

I was wondering if anyone knows how to do a summation over all positive integers up to N (where N is a parameter) excluding a finite subset of values.

For instance, how would I sum from 1 to N excluding 2,4,5?

Regards,

Art

sin(pi*n)/(pi*n)...

Maple

Hi.

I am trying to evaluate:

sin(pi*n)/(pi*n) assuming n::integer

Maple returns 0.

It seems to me that it really should not evaluate since it does not know if n=0 (where the correct result is 1) or not.

If it does evaluate, it should evaluate to a dirac function at n=0.

Regards.

Multilinear procedures?...

Maple
Hi, I am trying to create a multi-linear procedure with a memory (remember). I would like the function to implement (x,y)-> int(int(x*y),t=0..tf),tf=0..T) where x and y would normally be functions of t. I don't seem to be able to figure out how make this happen. The above function is effectively an inner product. I would like to calculate the inner product for the basis functions and remember their values. This will speed up my future computations drastically. If I just define the function without the multilinear property, the function does recognize the linear combinations with the remember. That is if I compute f(a,c) and f(b,c), the lookup table does not know how to process f(a+b,c). It should just equal f(a,c)+f(b,c).

Assume on list of variables...

Maple
Hi, I am interested in making the assumption T[0]<><><><><>

Has vs. Depends...

Maple
Hi, Can someone please explain the difference between "has" and "depends"? Can you give an example of where they are different? Thanks, Art
 5 6 7 8 Page 7 of 8
﻿