线性代数矩阵转置乘法_转置矩阵的行列式| 使用Python的线性代数

线性代数矩阵转置乘法

Prerequisite:

先决条件:

Here, we will learn that the determinant of the transpose is equal to the matrix itself. This is one of the key properties in Linear Algebra and is being used in major parts of Matrix and Determinants.

在这里,我们将了解转置的行列式等于矩阵本身。 这是线性代数的关键属性之一,并且在矩阵和行列式的主要部分中使用。

Example:

例:

Determinant of a Transpose Matrix

使用Python代码查找转置矩阵的行列式 (Python code to find the determinant of a transpose matrix)

# Linear Algebra Learning Sequence
# Transpose Determinant

import numpy as np

M1 = np.array([[2,1,4], [2,1,2], [2,3,2]])

print("Matrix (M1) :\n", M1)
print("Transpose (M1.T) :\n", M1.T)
print()

print('\n\nDeterminant of Matrix : ', np.linalg.det(M1))
print('\nDeterminant of transpose : ', np.linalg.det(M1.T))

Output:

输出:

Matrix (M1) :
 [[2 1 4]
 [2 1 2]
 [2 3 2]]
Transpose (M1.T) :
 [[2 2 2]
 [1 1 3]
 [4 2 2]]



Determinant of Matrix :  7.999999999999998

Determinant of transpose :  7.999999999999998


翻译自: https://www.includehelp.com/python/determinant-of-a-transpose-matrix.aspx

线性代数矩阵转置乘法

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值