Rcpp_block_matrix_vector_substract

C++ Function Reference

1 Signature

Eigen::MatrixXd BigDataStatMeth::Rcpp_block_matrix_vector_substract(T A, T B, hsize_t block_size, bool bparal, Rcpp::Nullable< int > threads=R_NilValue)

2 Description

Low-level block-based matrix-vector subtraction.

3 Parameters

  • A (T): Input matrix
  • B (T): Input vector (subtracted from A)
  • block_size (hsize_t): Size of blocks for computation
  • bparal (bool): Whether to use parallel processing
  • threads (Rcpp::Nullable< int >): Number of threads for parallel computation

4 Returns

Result of matrix-vector subtraction

5 Details

Internal implementation of block-based matrix-vector subtraction with configurable block size and parallel processing.

6 Usage Example

#include "BigDataStatMeth.hpp"

// Example usage
auto result = Rcpp_block_matrix_vector_substract(...);