Skip to main content Crate ferreus_rbf_utils Copy item path Source Expand description § Utilities for the ferreus_rbf crate and its Python bindingskernels Implemented Kernels for use in the ferreus_rbf
crate and its Python bindings, and the ferreus_bbfmm
crate’s Python bindings. KernelParams Defines the KernelType to use, along with parameter
values for spheroidal kernels. FmmTree Runtime-erased wrapper so callers don’t need to be generic over KernelType . KernelType Runtime kernel selector built from the kernel registry KernelFromParams Converts a shared KernelParams configuration into a concrete kernel type. argmax Returns the index of the maximum (optionally weighted) value. argmin Returns the index of the minimum (optionally weighted) value. argsort Returns the indices that would sort the input slice. cartesian_product Generates the cartesian product of a slice of values repeated num_columns times. evaluate_direct Evaluates weighted kernel sums directly, optionally returning gradients.
Selects the concrete kernel once; the typed helper owns all batching
and parallelism. batch_size must be positive. Gradient columns are
grouped by right-hand side, then coordinate. get_a_matrix Builds a dense kernel matrix for the selected KernelType . get_a_matrix_symmetric_solver Builds a symmetric kernel matrix with a nugget term on the diagonal. get_distance Calculates the euclidean distance between two points. get_pointarray_extents Computes the axis aligned bounding box (AABB) extents of a matrix of points. kernel_phi Evaluates the selected kernel function at distance r. max Returns the maximum value in a slice. select_mat_rows Returns an owned Mat<T> from a subset of row indices.