Searched refs:reference_dot (Results 1 – 1 of 1) sorted by relevance
/dports/devel/grex/grex-1.3.0/cargo-crates/ndarray-0.15.3/tests/ |
H A D | oper.rs | 148 fn reference_dot<'a, V1, V2>(a: V1, b: V2) -> f32 in reference_dot() function 165 assert_abs_diff_eq!(a.dot(&b), reference_dot(&a, &b), epsilon = 1e-5); in dot_product() 172 assert_abs_diff_eq!(a1.dot(&b1), reference_dot(&a1, &b1), epsilon = 1e-5); in dot_product() 175 assert_abs_diff_eq!(a2.dot(&b2), reference_dot(&a2, &b2), epsilon = 1e-5); in dot_product() 186 assert_abs_diff_eq!(a1.dot(&b1), reference_dot(&a1, &b1), epsilon = 1e-5); in dot_product() 189 assert_abs_diff_eq!(a2.dot(&b2), reference_dot(&a2, &b2), epsilon = 1e-5); in dot_product() 204 assert_abs_diff_eq!(a.dot(&b), reference_dot(&a, &b), epsilon = 1e-5); in dot_product_0() 211 assert_abs_diff_eq!(a1.dot(&b1), reference_dot(&a1, &b1), epsilon = 1e-5); in dot_product_0() 214 assert_abs_diff_eq!(a2.dot(&b2), reference_dot(&a2, &b2), epsilon = 1e-5); in dot_product_0() 227 assert_abs_diff_eq!(a.dot(&b), reference_dot(&a, &b), epsilon = 1e-5); in dot_product_neg_stride() [all …]
|