Skip to content

num::sparse_bilinear

Defined in header <linear/sparse/bilinear.hpp>

template <typename T>
T sparse_bilinear(const spmat &A, const vec<T> &y, const vec<T> &x);

Evaluate a sparse bilinear form, without conjugation: \(y^T A x\).