分享兴趣,传播快乐,增长见闻,留下美好。
亲爱的您,
这里是LearingYard学苑!
今天小编为大家带来Mathematica计算矩阵的值、特征值、迹,输入海塞矩阵、雅可比矩阵。
欢迎您的用心访问!
本期推文阅读时长大约5分钟,请您耐心阅读。
Share interest, spread happiness,
increase knowledge, and leave beautiful.
Dear you.
This is the LearingYard Academy!
Today, the editor bringsMathematica calculates the values, eigenvalues, and traces of matrices, and inputs Hesse matrices and Jacobi matrices.
Welcome your visit!
The reading time of this tweet is about 5 minutes, please read it with patience.
Mathematica作为科学计算软件,支持数值符号计算,支持与图形系统、编程语言、文本系统等程序连接,是最受欢迎的数学软件之一。本期推文将介绍如何使用Mathematica计算矩阵的值、特征值、迹,输入海塞矩阵、雅可比矩阵。感谢您的观看!
Mathematica is one of the most popular mathematical software as a scientific computing software that supports numerical symbolic computation and links to programs such as graphics systems, programming languages, and text systems. This tweet will introduce how to use Mathematica to calculate values, eigenvalues, and traces of matrices, enter Hesse matrices, and Jacobi matrices. Thanks for watching!
1. 计算矩阵行列式的值
Mathematica中计算矩阵行列式A的值的代码为Det[A],使用方法如下:
1. Calculating the Value of a Matrix Determinant
The code for calculating the value of the determinant of a matrix A in Mathematica is Det[A], which is used as follows.
2. 计算矩阵的特征值
计算矩阵的值使用的函数是Eigenvalues[A],使用方法如下:
2. Calculate the eigenvalues of the matrix
The function used to calculate the values of the matrix is Eigenvalues[A], which is used as follows.
3. 计算矩阵的迹
计算矩阵的迹使用的函数为Tr[A],使用方法为:
3. Calculate the trace of the matrix
The function used to calculate the trace of the matrix is Tr[A], which is used as follows.
4.输入Hessian矩阵
Hessian矩阵是一个多元函数的二阶偏导数构成的方阵。需要用到求偏导命令,在用矩阵形式把结果输出,形成一个海塞矩阵。涉及函数为:[f,{x,n}]。使用方法如下:
4. Input Hessian matrix
A Hessian matrix is a square matrix of second-order partial derivatives of a multivariate function. You need to use the command to find the partial derivatives, and output the result in matrix form to form a Hessian matrix. The function involved is: [f,{x,n}]. The usage is as follows.
5.输入雅可比矩阵
雅可比矩阵是一阶偏导数以一定方式排列成的矩阵。使用的同样是偏导命令,输入方法如下:
5. Input Jacobi matrix
A Jacobi matrix is a matrix in which the first order partial derivatives are arranged in a certain way. The same partial derivative command is used, and the input method is as follows.
今天的分享就到这里了。
如果您对今天的文章有独特的想法,
欢迎给我们留言,
让我们相约明天。
祝您今天过得开心快乐!
That's it for today's sharing.
If you have a unique idea about today’s article,
welcome to leave us a message,
let us meet tomorrow.
I wish you a happy day today!
参考资料:谷歌翻译
本文由LearningYard学苑整理发出,如有侵权请在后台留言!
LearningYard学苑
文字 | clear
排版| clear
审核| 任务达人