Skip to content

added complex type support #73

Open
a-b-h-a-y-s-h-i-n-d-e wants to merge 8 commits into
deepforestsci:mainfrom
a-b-h-a-y-s-h-i-n-d-e:complex_number_support
Open

added complex type support #73
a-b-h-a-y-s-h-i-n-d-e wants to merge 8 commits into
deepforestsci:mainfrom
a-b-h-a-y-s-h-i-n-d-e:complex_number_support

Conversation

@a-b-h-a-y-s-h-i-n-d-e
Copy link
Copy Markdown
Contributor

@a-b-h-a-y-s-h-i-n-d-e a-b-h-a-y-s-h-i-n-d-e commented May 13, 2026

example code:

x: C[3] = [1j, 2j, 3j]

y: C[3] = [1 + 1j, 2 + 2j, 3 + 3j]

z: C[2, 2] = [
    [1 + 2j, 3 + 4j],
    [4 + 9j, 7 + 2j]
]

x
y
z

@JoseAntonioSiguenza
Copy link
Copy Markdown
Collaborator

We need to add complex numbers to type system. Can we add complex number support as an ELF? This way we can introduce type checking rules more easily.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants