Skip to content

Commit 4f74177

Browse files
committed
actually document setdims
1 parent c66f8d8 commit 4f74177

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

lib/PDL/Core.pm

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -701,6 +701,17 @@ sub PDL::tocomplex {
701701
$pdl->type->real ? $pdl->r2C : $pdl;
702702
}
703703

704+
=head2 setdims
705+
706+
=for ref
707+
708+
Sets the ndarray's dimension list. A very low-level routine which
709+
does not do any checks, so use with caution.
710+
711+
=for usage
712+
713+
$ndarray->setdims(\@dimlist);
714+
704715
=head2 set_datatype
705716
706717
=for ref
@@ -750,7 +761,6 @@ NOTE: NOT a method! This is because get_datatype returns
750761
pdl> p howbig(ushort([1..10])->get_datatype)
751762
2
752763
753-
754764
=head2 update_data_from
755765
756766
=for ref

0 commit comments

Comments
 (0)