I'm reading reading Section I.12 Vector Spaces, Affine Spaces and Algebras from textbook Analysis I by Amann/Escher where there is Remark 12.12:
I would like to confirm if my understanding about $p(A) := \sum_{k} p_{k} A^{k}$ is correct.
$A^k = \underbrace{A \circ \cdots \circ A}_{k \text{ times}}$ where $\circ$ is function composition.
$p_{k} A^{k}$ is a function such that $(p_{k} A^{k}) (v) := p_k (A^k (v))$ for all $v \in V$.
$\sum_{k} p_{k} A^{k}$ is a function such that $\left ( \sum_{k} p_{k} A^{k} \right ) (v) := \sum_{k} \left [ ( p_{k} A^{k}) (v) \right ]$ for all $v \in V$.
Thank you for your help!

You are right. The only thing you have to know that on $\text{End}(V)$ you have an addition (pointwise by $(A + B)(v) = A(v) + B(v)$), a scalar multiplication (pointwise by $(k \cdot A)(v) = k \cdot A(v)$) and a multplication which is nothing else than function composition $(A \circ B)(v) = A(B(v))$. This makes $(\text{End}(V),+,\cdot,\circ)$ a $K$-algebra.
For any polynomial $p \in K[X]$ you may then insert any $A \in \text{End}(V)$ for the variable $X$. This generalizes to any $K$-Algebra $\mathfrak A$: $(p,\mathfrak a) \mapsto p(\mathfrak a)$ can be defined as for $\text{End}(V)$.