MCPcopy Create free account
hub / github.com/BasisResearch/lean.py / RealVector

Function RealVector

lean_py/z3/core.py:1737–1739  ·  view source on GitHub ↗

Create a vector of ``sz`` real variables.

(prefix: str, sz: int)

Source from the content-addressed store, hash-verified

1735
1736
1737def RealVector(prefix: str, sz: int) -> list[ArithRef]:
1738 """Create a vector of ``sz`` real variables."""
1739 return [Real(f"{prefix}__{i}") for i in range(sz)]
1740
1741
1742# ---------------------------------------------------------------------------

Callers 2

test_real_vectorMethod · 0.90
test_vector_zeroMethod · 0.90

Calls 1

RealFunction · 0.85

Tested by 2

test_real_vectorMethod · 0.72
test_vector_zeroMethod · 0.72