Learn R Programming

lgspline (version 0.2.0)

GAmult_wrapper: Efficient Matrix Multiplication of G and A Matrices

Description

Efficient Matrix Multiplication of G and A Matrices

Usage

GAmult_wrapper(
  G,
  A,
  K,
  nc,
  nca,
  parallel,
  cl,
  chunk_size,
  num_chunks,
  rem_chunks
)

Value

Matrix product

Arguments

G

List of G matrices

A

Constraint matrix

K

Number of partitions minus 1

nc

Number of columns per partition

nca

Number of constraint columns

parallel

Use parallel processing

cl

Cluster object

chunk_size

Size of parallel chunks

num_chunks

Number of chunks

rem_chunks

Remaining chunks

Details

Computes G Processes in parallel chunks if enabled. Avoids unnecessary operations.