千里马:简化矩阵组成 [英] Maxima: Simplify matrix components

查看:92
本文介绍了千里马:简化矩阵组成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Maxima中,怎么可能简单地将方程作为矩阵的组成部分?我有一个相当大的矩阵,想简化它的组成部分(例如,分解和抵消).

in Maxima, how is it possible to simply equations that are components of a matrix? I have a rather big matrix and want to simplify the components of it (e.g. factor out and cancel out).

谢谢.

推荐答案

大多数函数(在适当的情况下)已经遍历列表,矩阵,方程式等.

Most functions (where appropriate) already thread over lists, matrices, equations, etc...

例如:

(%i1) a : [[cos(x)^2+sin(x)^2,1],[0,sin(x)*cos(x)]];
                      2         2
(%o1)            [[sin (x) + cos (x), 1], [0, cos(x) sin(x)]]
(%i2) trigsimp(a);
(%o2)                    [[1, 1], [0, cos(x) sin(x)]]
(%i3) trigreduce(a);
                 cos(2 x) + 1   1 - cos(2 x)          sin(2 x)
(%o3)          [[------------ + ------------, 1], [0, --------]]
                      2              2                   2
(%i4) expand(%o3);
                                         sin(2 x)
(%o4)                       [[1, 1], [0, --------]]
                                            2

如果这不能帮助您,您能否提供您所遇到的问题的更多详细信息?

If this doesn't help you, can you give more details of the problem that you're having?

这篇关于千里马:简化矩阵组成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆