JuliaPy / JuliaPy/SymPy.jl

Accessing MatrixSymbol

Open
#200 6 comments 1 reaction 0 assignees View on GitHub
Dominant language
Julia
Stars
282
Forks
59
PR merge metrics
No merged PRs in 30d

Description

I can't seem to figure out how to make use of the sympy `MatrixSymbol` type, described at
http://docs.sympy.org/latest/modules/matrices/expressions.html
I would like to manipulate matrix expressions on a block matrix level, not have the expressions be manipulated on the level of scalar matrix entries.

To be more specific, how do I in `SymPy.jl` create a matrix with specified dimensions, without having it be an array of scalars, like (in python)
```python
>>> X = MatrixSymbol('X', 3, 3)
>>> Matrix(X)
Matrix([
[X[0, 0], X[0, 1], X[0, 2]],
[X[1, 0], X[1, 1], X[1, 2]],
[X[2, 0], X[2, 1], X[2, 2]]])
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.