diff options
Diffstat (limited to 'libpsi/src/maths/vector.rs')
| -rw-r--r-- | libpsi/src/maths/vector.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libpsi/src/maths/vector.rs b/libpsi/src/maths/vector.rs index 0c13e4c..243061d 100644 --- a/libpsi/src/maths/vector.rs +++ b/libpsi/src/maths/vector.rs @@ -43,6 +43,7 @@ pub trait VectorMatrix<T: Float> { fn to_matrix(&self) -> Matrix<T>; } +#[derive(Clone)] pub struct VectorImpl<T: Float, const ROWS: usize, const COLS: usize>(Vec<T>); pub type RowVector<T> = VectorImpl<T, 1, 0>; pub type ColumnVector<T> = VectorImpl<T, 0, 1>; |
