Commit df3d02f
authored
Merge pull request #311 from Morpho-lang/newlinalg
New linear algebra library. Includes replacement class for Matrix and a new ComplexMatrix class with extensive sharing of code and possible future expansion. Includes new functionality:
Matrix slicing now works with Tuples as well as Lists and Arrays.
Matrix indexing now supports negative indices to access the last element of a list.
Matrix and ComplexMatrix make better use of Tuples to return results, e.g. for dimensions(), eigenvalues() etc.
Matrix and ComplexMatrix support additional functionality, e.g. qr() and svd()228 files changed
Lines changed: 9214 additions & 1995 deletions
File tree
- help
- src
- builtin
- classes
- core
- datastructures
- geometry
- linalg
- support
- test
- functionals
- hydrogel
- linalg
- arithmetic
- assign
- constructors
- errors
- index
- methods
- list
- matrix
- slice
- sparse
- tuple
- types/multiple_dispatch
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
| 80 | + | |
0 commit comments