计算向量的叉积
已知 $a=(2,-1,-1)$, $b=(1,2,-1)$, 求 $c=a\times b$
\[
c=\begin{vmatrix}
i & j & k\\
2 & -1 & -1\\
1 & 2 & -1
\end{vmatrix}=
3i+j+5k
\]
>> A=[i,j,k;
A=[i,j,k;
2,-1,-1;
1,2,-1]
input> [i,j,k;2,-1,-1;1,2,-1]
det(A)=3*i+2*j+2*2*k-j+k
----------------------------
type: matrix
name: A
value:
i j k
2 -1 -1
1 2 -1
determinant: 3*i+2*j+2*2*k-j+k
--------------------