ott.geometry.graph.Graph.apply_kernel# Graph.apply_kernel(vec, eps=None, axis=0)[source]# Apply kernel_matrix on a positive vector. Parameters: vec (Array) – Vector to which the kernel is applied. eps (Optional[float]) – passed for consistency, not used yet. axis (int) – passed for consistency, not used yet. Return type: Array Returns: Kernel applied to scaling.