fimpy.utilsΒΆ

This subpackage contains small custom functions to efficiently compute \(\left<A \mathbf{x}_1, \mathbf{x}_2 \right>\) on the CPU and GPU for different dimensions \(d\).

Modules

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\).

fimpy.utils.cython

This subpackage contains the Cython implementations for fast 2D and 3D metric norm computations.

fimpy.utils.tsitsiklis

This file contains the norm_map, that is in general used to efficiently select the best and fastest function to compute norms of the type \(\left<A \mathbf{x}_1, \mathbf{x}_2 \right>\).