Skip to content

Tensor arithmetic, 3rd attempt#75

Open
izrik wants to merge 65 commits into
masterfrom
tensor-arithmetic-3
Open

Tensor arithmetic, 3rd attempt#75
izrik wants to merge 65 commits into
masterfrom
tensor-arithmetic-3

Conversation

@izrik
Copy link
Copy Markdown
Member

@izrik izrik commented Nov 19, 2025

This PR adds the ability to add and multiply vectors and matrices. This includes extended support for function types, including variadic functions.

This PR only includes full support for the BasicEvaluator. The CompilingEvaluator can add but not yet multiply vectors and matrices. That will be the subject of a future PR.

There are still a number of edge cases that produce false positives (for example, multiplying two vectors is not clearly defined, but no error is produced in the repl). Those will have to be worked out.

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.

1 participant