feat(linalg): matrix infix ops and # matrix methods
Dispatch +/−/* to the linalg plugin for matrix values, retag for EN/ZH method chains, and expand # matrix with T/simplify/ascii-style methods. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
c0fbe9b182
commit
51bb8767e3
16 files changed
+459
-57
No files matched your search
@@ -171,7 +171,8 @@ pub fn to_dense_value(m: &CMat) -> Result<Value, String> {
|
||||
})
|
||||
.collect();
|
||||
Ok(json!({
|
||||
"_type": "linalg_dense",
|
||||
"_type": "matrix",
|
||||
"kind": "dense",
|
||||
"rows": rows,
|
||||
"cols": cols,
|
||||
"data": data,
|
||||
|
||||
Reference in new issue
Block a user