Array read. Remarks: The argument a is the array and i is the index of the array that gets read. The node a must have an array sort [domain -> range], and i must have the sort domain. The sort of the result is range. @see #mkArraySort(Sort[]
(Expr<ArraySort<D, R>> a, Expr<D> i)
| 1866 | * @see #mkStore(Expr<ArraySort<D, R>> a, Expr<D> i, Expr<R> v) |
| 1867 | **/ |
| 1868 | public final <D extends Sort, R extends Sort> Expr<R> mkSelect(Expr<ArraySort<D, R>> a, Expr<D> i) |
| 1869 | { |
| 1870 | checkContextMatch(a); |
| 1871 | checkContextMatch(i); |
| 1872 | return (Expr<R>) Expr.create( |
| 1873 | this, |
| 1874 | Native.mkSelect(nCtx(), a.getNativeObject(), |
| 1875 | i.getNativeObject())); |
| 1876 | } |
| 1877 | |
| 1878 | /** |
| 1879 | * Array read. |
no test coverage detected