-
Notifications
You must be signed in to change notification settings - Fork 175
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement structure for local and distributed stddev
- Loading branch information
Raunak Bhagat
committed
Oct 7, 2024
1 parent
a53dfaa
commit 2ae9d08
Showing
6 changed files
with
70 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
use common_error::DaftResult; | ||
|
||
use super::{DaftStddevAggable, GroupIndices}; | ||
use crate::{array::DataArray, datatypes::Float64Type}; | ||
|
||
impl DaftStddevAggable for DataArray<Float64Type> { | ||
type Output = DaftResult<Self>; | ||
|
||
fn stddev(&self) -> Self::Output { | ||
todo!("stddev") | ||
} | ||
|
||
fn grouped_stddev(&self, _: &GroupIndices) -> Self::Output { | ||
todo!("stddev") | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters