@@ -481,6 +481,7 @@ where
481
481
D : Dimension ,
482
482
{
483
483
/// Try to convert this array into a [`nalgebra::MatrixSlice`] using the given shape and strides.
484
+ #[ doc( alias = "nalgebra" ) ]
484
485
pub fn try_as_matrix < R , C , RStride , CStride > (
485
486
& self ,
486
487
) -> Option < nalgebra:: MatrixSlice < N , R , C , RStride , CStride > >
@@ -504,6 +505,7 @@ where
504
505
/// # Panics
505
506
///
506
507
/// Panics if the array has negative strides.
508
+ #[ doc( alias = "nalgebra" ) ]
507
509
pub fn as_matrix ( & self ) -> nalgebra:: DMatrixSlice < N , nalgebra:: Dynamic , nalgebra:: Dynamic > {
508
510
self . try_as_matrix ( ) . unwrap ( )
509
511
}
@@ -519,6 +521,7 @@ where
519
521
/// # Panics
520
522
///
521
523
/// Panics if the array has negative strides.
524
+ #[ doc( alias = "nalgebra" ) ]
522
525
pub fn as_matrix ( & self ) -> nalgebra:: DMatrixSlice < N , nalgebra:: Dynamic , nalgebra:: Dynamic > {
523
526
self . try_as_matrix ( ) . unwrap ( )
524
527
}
@@ -679,6 +682,7 @@ where
679
682
D : Dimension ,
680
683
{
681
684
/// Try to convert this array into a [`nalgebra::MatrixSliceMut`] using the given shape and strides.
685
+ #[ doc( alias = "nalgebra" ) ]
682
686
pub fn try_as_matrix_mut < R , C , RStride , CStride > (
683
687
& self ,
684
688
) -> Option < nalgebra:: MatrixSliceMut < N , R , C , RStride , CStride > >
@@ -702,6 +706,7 @@ where
702
706
/// # Panics
703
707
///
704
708
/// Panics if the array has negative strides.
709
+ #[ doc( alias = "nalgebra" ) ]
705
710
pub fn as_matrix_mut (
706
711
& self ,
707
712
) -> nalgebra:: DMatrixSliceMut < N , nalgebra:: Dynamic , nalgebra:: Dynamic > {
@@ -719,6 +724,7 @@ where
719
724
/// # Panics
720
725
///
721
726
/// Panics if the array has negative strides.
727
+ #[ doc( alias = "nalgebra" ) ]
722
728
pub fn as_matrix_mut (
723
729
& self ,
724
730
) -> nalgebra:: DMatrixSliceMut < N , nalgebra:: Dynamic , nalgebra:: Dynamic > {
0 commit comments