Built-in data types: vector, matrix (tensor)
- Dominant language
- Python
- Stars
- 133k
- Forks
- 15.7k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 153
Description
Extracted from: https://github.com/comfyanonymous/ComfyUI/issues/8821
### Feature Idea
A huge part of image processing relies on linear algebra. Currently, each node author willing to do it has to reinvent the wheel.
Everyone would benefit if standard-size vectors/matrices were built-in types:
- vector[2/3/4] (maybe even vector1 - just for the sake of consistency)
- matrix3/4
- for both - an int and float version
- with frontend widgets existing out of the box
- Ideally, with an ability to link EITHER pre-built matrix/vector connection or floats/ints directly into components. If hard to implement, simple conversion nodes (floats > vector and vice versa) is perfectly fine, too.
### Existing Solutions
https://github.com/Amorano/Jovimetrix
### Other
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.