MCPcopy Create free account
hub / github.com/Z3Prover/z3 / mkSeqMap

Method mkSeqMap

src/api/java/Context.java:2324–2328  ·  view source on GitHub ↗

Map function f over sequence s. Returns a new sequence where f is applied to each element of s.

(Expr<?> f, Expr<SeqSort<R>> s)

Source from the content-addressed store, hash-verified

2322 * Returns a new sequence where f is applied to each element of s.
2323 */
2324 public final <R extends Sort> SeqExpr<R> mkSeqMap(Expr<?> f, Expr<SeqSort<R>> s)
2325 {
2326 checkContextMatch(f, s);
2327 return (SeqExpr<R>) Expr.create(this, Native.mkSeqMap(nCtx(), f.getNativeObject(), s.getNativeObject()));
2328 }
2329
2330 /**
2331 * Map function f over sequence s starting at index i.

Callers 1

mainMethod · 0.95

Calls 4

checkContextMatchMethod · 0.95
createMethod · 0.95
nCtxMethod · 0.95
getNativeObjectMethod · 0.80

Tested by

no test coverage detected