線性代數›Ch2 行列式
第 17 題/共 18 題
◀ LA 17/18
17. Determinant、Cofactor Expansion
#LA-02-017中DeterminantCofactor Expansion

A python function Fun is designed to perform a certain matrix operation:

def FunSub(m,i,j):
    return [row[:j] + row[j+1:] for row in (m[:i]+m[i+1:])]

def Fun(m):
    if len(m) == 2:
        return m[0][0]*m[1][1]-m[0][1]*m[1][0]

    x = 0
    for c in range(len(m)):
        x += ((-1)**c)*m[0][c]*Fun(FunSub(m,0,c))
    return x

What inputs make Fun output 0?

📄 中央110
跳轉到第題
▤完整推導請見《WH 資工筆記 · 線性代數》Ch2 行列式
本章題號 · 1–18 / 18