fimpy.utils.comp¶
This file contains small custom functions to compute \(\left<A \mathbf{x}_1, \mathbf{x}_2 \right>\) for general and special dimensions \(d\). Note that all custom, efficient implementations assume that \(A\) is a symmetric matrix.
Functions
|
Computes \(\sqrt{\left<A \mathbf{x}_1, \mathbf{x}_2 \right>}\) in a broadcasted fashion for arbitrary \(d\) |
|
Custom implementation of |
|
Custom implementation of |
|
Computes \(\left<A \mathbf{x}_1, \mathbf{x}_2\right>\) in a broadcasted fashion for arbitrary \(d\). |