Inplace operator +=
- Note
- Caution! Inplace operators assume that either
- The right hand side sparse matrix has the same sparsity pattern
- You only intend to add a scalar or dense matrix coefficients to the nonzero values of
this
. This is intended to be used within the reverse pass for accumulation of the adjoint and is built as such. Any other use case should be be sure that the above assumptions are satisfied.
- Template Parameters
-
T | A type derived from Eigen::SparseMatrixBase or Eigen::DenseMatrixBase or a Scalar |
- Parameters
-
other | value to be added inplace to the matrix. |
Definition at line 421 of file arena_matrix.hpp.