spsp_innerpaired#
- hypercoil.functional.sparse.spsp_innerpaired(lhs: BCOO, rhs: BCOO | None = None) Tensor[source]#
Positive definite nondegenerate symmetric bilinear forms with sparse arguments.
Note
The array dimension signature of this operation is informally
\(\mathbb{R}^{m \times p} \times \mathbb{R}^{m \times p} \rightarrow \mathbb{R}^{m}\)
while that of
spspmmis\(\mathbb{R}^{m \times p} \times \mathbb{R}^{n \times p} \rightarrow \mathbb{R}^{m \times n}\)
Every argument in
lhsis thus paired with one inrhs. If your data do not fit this schema, then usespspmminstead.Note
If
rhsis not specified, then this computes a squared vector norm.