num::sparse_bilinear_trace¶ Defined in header <linear/sparse/bilinear.hpp> real sparse_bilinear_trace(const spmat &A, const mat<real> &L, const mat<real> &R); Evaluate the trace of a product with a sparse matrix: \(\mathrm{tr}(L^T A R)\).