i want that output in round form
for emp: 1e-17 =0 should be zero.
thanks
qwerty
2
using SymPy
@syms t d
r = [cos(t) -sin(t) d;sin(t) cos(t) 0; 0 0 1]
[subs(i, (t, π)) for i in r]
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| How to round whole matrix like numpy.round() | 8 | 3765 | July 29, 2022 | |
| Transpose of symbolic matrix | 1 | 530 | August 27, 2022 | |
| `Symbolics.value` behavior change | 3 | 149 | November 26, 2025 | |
| Symbolics.jl simplify exp(0) to 1 | 1 | 269 | March 2, 2026 | |
| Convert symbolic expression to floating point? | 2 | 468 | February 5, 2026 |
