mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-10-04 13:19:25 +00:00
Add transpose method to Frame for matrix transposition
This commit is contained in:
@@ -471,6 +471,8 @@ impl<T: Clone + PartialEq> Frame<T> {
|
||||
deleted_data
|
||||
}
|
||||
|
||||
|
||||
/// Returns a new `Matrix` that is the transpose of the current frame's matrix.
|
||||
pub fn transpose(&mut self) -> Matrix<T> {
|
||||
self.matrix.transpose()
|
||||
}
|
||||
|
Reference in New Issue
Block a user