We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
pass in a space and non-negative integer
domain: space co-domain: same space, n copies
The text was updated successfully, but these errors were encountered:
from cadcad.blocks import deadend, indentity
annotations
def deadend(domain:List[Space], n_terminals=1:int )-> Block:
use
myblock = deadend([Real])
expected
myblock.domain = domain #input argument myblock.codomain = [EmptySpace for _ in range(n_terminals)]
def identity(domain:List[Space], n_terminals=1:int )-> Block:
myblock = identity([Real])
myblock.domain = domain #input argument myblock.codomain = [Real for _ in range(n_terminals)]
Sorry, something went wrong.
emanuellima1
No branches or pull requests
pass in a space and non-negative integer
domain: space
co-domain: same space, n copies
The text was updated successfully, but these errors were encountered: