is this better?
This commit is contained in:
parent
34450d6a13
commit
4d2aa0b2c8
@ -44,11 +44,11 @@ macro_rules! impl_matrix {
|
||||
array:self.array.map(|axis|
|
||||
core::array::from_fn(|_|
|
||||
// axis dot product with transposed rhs array
|
||||
axis.into_iter().zip(
|
||||
axis.iter().zip(
|
||||
array_of_iterators.each_mut().map(|iter|
|
||||
iter.next().unwrap()
|
||||
)
|
||||
).map(|(a,b)|
|
||||
).map(|(&a,b)|
|
||||
a*b
|
||||
).sum()
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user