I'm trying to understand is function $f(A) = \operatorname*{tr}(AC)$ linear or not?
$C$ is a matrix of constants. And if we multiply this matrix on arbitrary matrix $A$, we'll get a new matrix $B$. And the trace from matrix $B$ is a number $b_1 + b_2 + b_3 + \ldots + b_n$ by diagonal.
Does it mean that if we get a number it's a linear function?