Vectors and Matrices
Vector Addition
Add two 3-component vectors by summing corresponding components. Each component pair is handled in a single step, producing a new vector whose entries are the pairwise sums. The state panel accumulates the result one component at a time.
component-wise operation
Vector addition is defined component by component: (u + v)[i] = u[i] + v[i]. The result is a vector of the same length as the inputs.