mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-20 04:00:01 +00:00
Implement matrix multiplication and dot product methods for SeriesOps in Frame<f64>
This commit is contained in:
parent
1ebc3546d2
commit
9daf583a4d
@ -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>,
|
||||
|
Loading…
x
Reference in New Issue
Block a user