A_t_times_x_particle: Transpose matrix-vector multiplication for particle systems

View source: R/RcppExports.R

A_t_times_x_particleR Documentation

Transpose matrix-vector multiplication for particle systems

Description

Performs the matrix-vector multiplication A^T*x for particle systems, where A is a sparse matrix stored only the non-zero entries

Usage

A_t_times_x_particle(output, A_all_v, num_neighbors_vec, D_y, N_tilde)

Arguments

output

A numeric vector containing the input vector for multiplication.

A_all_v

A numeric vector containing the interaction matrices in vectorized form.

num_neighbors_vec

An integer vector specifying the number of neighbors for each particle.

D_y

An integer specifying the dimension of the output vector per particle.

N_tilde

An integer specifying the total dimension of the output vector.

Value

Returns a numeric vector containing the result of the matrix-vector multiplication.

Author(s)

Mengyang Gu [aut, cre], Xinyi Fang [aut], Yizi Lin [aut] Maintainer: Mengyang Gu <mengyang@pstat.ucsb.edu>

References

Fang, X., & Gu, M. (2024). The inverse Kalman filter. arXiv:2407.10089.


FastGaSP documentation built on April 4, 2025, 5:16 a.m.