设 $\boldsymbol{A}=\left(\begin{array}{cccc}a_1 b_1 & a_1 b_2 & \cdots & a_1 b_n \\ a_2 b_1 & a_2 b_2 & \cdots & a_2 b_n \\ \vdots & \vdots & \vdots & \\ a_n b_1 & a_n b_2 & \cdots & a_n b_n\end{array}\right)$ ,其中 $a_i \neq 0, b_i \neq 0(i=1,2, \cdots, n)$ ,则矩阵 $\boldsymbol{A}$的秩 $r(\boldsymbol{A})=$