diff --git a/reference/1802.html b/reference/1802.html new file mode 100644 index 00000000..e37b545b --- /dev/null +++ b/reference/1802.html @@ -0,0 +1,200 @@ + + + + + + + SmallBASIC | TRANSPOSE + + + + + + + + +
+ +
+
+
+ +
+
+
+
+ + + + + +
+
+
+ +
+
+

TRANSPOSE

+
A = TRANSPOSE (M)
+
+

+ Home > + Reference > + Math +

+
+

Calculates the transpose A of a 2D matrix or a vector +M.

+

Example 1: Transpose of a +vetor

+
A = [1;2;3;4]
+print transpose(A)   ' output: [1,2,3,4]
+

Example 2: Transpose of a +matrix

+
A = [1,2; 3,4; 5,6]
+print transpose(A)   ' output: [1,3,5;2,4,6] 
+
+
Math
+ +
+ If there is insufficient information on this page and you wish learn more about TRANSPOSE, + please send an email to smallbasic@gmail.com. You can help to improve information about +TRANSPOSE by submitting a pull request, + click View Source for details. Note, an offline language reference text file is also available - see the Download section. +
+
+ +
+ +
+
+ + diff --git a/reference/ide/1802.html b/reference/ide/1802.html new file mode 100644 index 00000000..f7d7a857 --- /dev/null +++ b/reference/ide/1802.html @@ -0,0 +1,14 @@ +

TRANSPOSE

+
+

A = TRANSPOSE (M)

+
+

Calculates the transpose A of a 2D matrix or a vector +M.

+

Example 1: Transpose of a +vetor

+
A = [1;2;3;4]
+print transpose(A)   ' output: [1,2,3,4]
+

Example 2: Transpose of a +matrix

+
A = [1,2; 3,4; 5,6]
+print transpose(A)   ' output: [1,3,5;2,4,6]