distributedgridvector.tcc

来自「Flens库-一个在C++的矩阵运算库」· TCC 代码 · 共 31 行

TCC
31
字号
namespace flens {//== DistributedGridVector2D ===================================================template <typename RHS>DistributedGridVector2D &DistributedGridVector2D::operator=(const Vector<RHS> &rhs){    copy(rhs.impl(), *this);    return *this;}template <typename RHS>DistributedGridVector2D &DistributedGridVector2D::operator+=(const Vector<RHS> &rhs){    axpy(1., rhs.impl(), *this);    return *this;}template <typename RHS>DistributedGridVector2D &DistributedGridVector2D::operator-=(const Vector<RHS> &rhs){    axpy(-1., rhs.impl(), *this);    return *this;}} // namespace flens

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?