Implement matrix multiplication and dot product methods for SeriesOps in Frame<f64>

This commit is contained in:
Palash Tyagi 2025-07-05 21:07:46 +01:00
parent 1ebc3546d2
commit 9daf583a4d

View File

@ -20,6 +20,13 @@ impl SeriesOps for Frame<f64> {
{
self.matrix().apply_axis(axis, f)
}
fn matrix_mul(&self, other: &Self) -> FloatMatrix {
self.matrix().matrix_mul(other.matrix())
}
fn dot(&self, other: &Self) -> FloatMatrix {
self.matrix().dot(other.matrix())
}
delegate_to_matrix!(
sum_vertical -> Vec<f64>,