|
Eigen::VectorBlock< const Eigen::VectorXd > | operator() (const Eigen::VectorXd &vector) const |
| Returns this shard of vector .
|
|
Eigen::VectorBlock< Eigen::VectorXd > | operator() (Eigen::VectorXd &vector) const |
| Returns this shard of vector in mutable form.
|
|
Eigen::VectorBlock< const Eigen::VectorXd > | operator() (Eigen::VectorBlock< const Eigen::VectorXd > vector) const |
| Returns this shard of vector .
|
|
Eigen::VectorBlock< Eigen::VectorXd > | operator() (Eigen::VectorBlock< Eigen::VectorXd > vector) const |
| Returns this shard of vector in mutable form.
|
|
auto | operator() (const Eigen::DiagonalMatrix< double, Eigen::Dynamic > &diag) const -> decltype(diag.diagonal().segment(0, 0).asDiagonal()) |
|
ConstSparseColumnBlock | operator() (const Eigen::SparseMatrix< double, Eigen::ColMajor, int64_t > &matrix) const |
| Returns this shard of the columns of matrix .
|
|
SparseColumnBlock | operator() (Eigen::SparseMatrix< double, Eigen::ColMajor, int64_t > &matrix) const |
| Returns this shard of the columns of matrix in mutable form.
|
|
int | Index () const |
|
This class extracts a particular shard of vectors or matrices passed to it. See ParallelForEachShard()
. Caution: Like absl::Span
, Shard::operator()
returns mutable or immutable views into the vector or matrix argument. The underlying object must outlive the view. Extra Caution: The const& arguments for the immutable views can bind to temporary objects, e.g., shard(3*a) will create a view into the "3*a" object that will be destroyed immediately after the shard is created.
Definition at line 55 of file sharder.h.