-
Notifications
You must be signed in to change notification settings - Fork 46
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
how can antares surport loop which index doesn't start with 0 #359
Comments
Decrease it by 1 maybe ?
|
Hi, does this work for you?
|
It seems that out(i-1,j-1) is not legal in antares, it only allows form like this : out(i,j). |
This can work, but will result in the calculation of redundancy. Is there any other way? |
Is out[N, 0] and out[0, M] not used by following operations? If they're useful, they are not regarded as redundant computation. If they are not useful, why don't you even remove those unsed space for that, making it:
|
I'm trying to use antares to express the loop like this:
and the loop indeces i and j don't start with 0.
flx[N-1,M].when([-1 + N >= 0], 0.0) is not a possible solution as it violates the semantics.
Any help to express this loop is appreciated !!!
The text was updated successfully, but these errors were encountered: