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