...
- Asynchronously start a new child task to evaluate Expr with place/phased/when options as inasync
- f is a reference to object of type future<T> , which is a container for the value to be computed by the future task
- Expr is a statement sequence ending with return
f.get()
- Wait until future f has completed execution, and propagate its return value of type T
- if T = void, then f.get() is evaluated as a statement (like a method call with a void return value)
- get() also propagates any exception thrown by Expr
...
point
- A point is an n-dimensional int tuple
- A point variable can hold values of different ranks e.g., point p; p = [1]; … p = [2,3]; …
...
+,-,*,/, ==, !=, toString(), exp(), sin(), cos(), sqrt(), pow()
array views
T[.] declares a view on a 1-D Java array e.g.,
...
...
double[.] view = new arrayView(baseArray, offset, [lo1:hi1, …])
...
where
...
...
baseArray = base 1-D Java array
...
...
offset = starting offset in baseArray for view
...
[lo1:hi1, …] = rectangular region for view
...