@@ -10,12 +10,12 @@ use super::{sum::ArrayPartialSum, ArrayZipWith};
1010#[ const_trait]
1111pub trait ArrayPartialMulDot < T , const N : usize > : Array + AsSlice < Item = T >
1212{
13- fn try_mul_dot < Rhs > ( self , rhs : Rhs ) -> Option < <T as Mul < Rhs :: Elem > >:: Output >
13+ fn partial_mul_dot < Rhs > ( self , rhs : Rhs ) -> Option < <T as Mul < Rhs :: Elem > >:: Output >
1414 where
1515 Rhs : ArrayForm < N > ,
1616 T : Mul < Rhs :: Elem , Output : AddAssign > ;
1717
18- async fn try_mul_dot_async < Rhs > ( self , rhs : Rhs ) -> Option < <T as Mul < Rhs :: Elem > >:: Output >
18+ async fn partial_mul_dot_async < Rhs > ( self , rhs : Rhs ) -> Option < <T as Mul < Rhs :: Elem > >:: Output >
1919 where
2020 Rhs : ArrayForm < N > ,
2121 T : Mul < Rhs :: Elem , Output : AddAssign > ;
@@ -35,7 +35,7 @@ pub trait ArrayPartialMulDot<T, const N: usize>: Array + AsSlice<Item = T>
3535
3636impl < T , const N : usize > ArrayPartialMulDot < T , N > for [ T ; N ]
3737{
38- fn try_mul_dot < Rhs > ( self , rhs : Rhs ) -> Option < <T as Mul < Rhs :: Elem > >:: Output >
38+ fn partial_mul_dot < Rhs > ( self , rhs : Rhs ) -> Option < <T as Mul < Rhs :: Elem > >:: Output >
3939 where
4040 Rhs : ArrayForm < N > ,
4141 T : Mul < Rhs :: Elem , Output : AddAssign >
@@ -63,7 +63,7 @@ impl<T, const N: usize> ArrayPartialMulDot<T, N> for [T; N]
6363 value
6464 }
6565
66- async fn try_mul_dot_async < Rhs > ( self , rhs : Rhs ) -> Option < <T as Mul < Rhs :: Elem > >:: Output >
66+ async fn partial_mul_dot_async < Rhs > ( self , rhs : Rhs ) -> Option < <T as Mul < Rhs :: Elem > >:: Output >
6767 where
6868 Rhs : ArrayForm < N > ,
6969 T : Mul < Rhs :: Elem , Output : AddAssign >
@@ -103,7 +103,7 @@ impl<T, const N: usize> ArrayPartialMulDot<T, N> for [T; N]
103103 T : Mul < Rhs :: Elem , Output = U > ,
104104 U : AddAssign
105105 {
106- if let Some ( x) = self . try_mul_dot_async ( rhs) . await
106+ if let Some ( x) = self . partial_mul_dot_async ( rhs) . await
107107 {
108108 bias += x
109109 }
0 commit comments