(本文包含画图实验的python代码) (跳过因循守旧,首先为什么要学习泛函呢? 当验证L2范数是否为凸函数时,
}sqrt { x _1^ 2x _2^2. x _ n ^2} ' class=' math code ' src=' https://private.code cogs.com/gif.latex? y=||bold symbol { r }|_2=sqrt { & lt; boldsymbol{r},boldsymbol{r}>; }sqrt{x_1^2plus; x_2^2plus; x_n^2(() ) ) (1) ) ) ) ) ) ) ) ) ) )。
那么我来验证一下
上式的证明如果你把两边平方展开的话就麻烦了。 但是,用泛函分析的思想变得简单了。
首先是仪式