123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- #include "ceres/linear_operator.h"
- #include <glog/logging.h>
- namespace ceres::internal {
- void LinearOperator::RightMultiplyAndAccumulate(const double* x,
- double* y,
- ContextImpl* context,
- int num_threads) const {
- (void)context;
- if (num_threads != 1) {
- VLOG(3) << "Parallel right product is not supported by linear operator "
- "implementation";
- }
- RightMultiplyAndAccumulate(x, y);
- }
- void LinearOperator::LeftMultiplyAndAccumulate(const double* x,
- double* y,
- ContextImpl* context,
- int num_threads) const {
- (void)context;
- if (num_threads != 1) {
- VLOG(3) << "Parallel left product is not supported by linear operator "
- "implementation";
- }
- LeftMultiplyAndAccumulate(x, y);
- }
- LinearOperator::~LinearOperator() = default;
- }
|