Learn R Programming

FastGaSP (version 0.6.0)

A_times_x_particle: Matrix-vector multiplication for particle systems

Description

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

Usage

A_times_x_particle(output, A_all_v, num_neighbors_vec, D, N)

Value

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

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

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

N

An integer specifying the total dimension of the output vector.

Author

tools:::Rd_package_author("FastGaSP")

Maintainer: tools:::Rd_package_maintainer("FastGaSP")

References

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