SlideShare a Scribd company logo
1 of 16
Download to read offline
J symbol
“ ., ” (comma-dot)
Group 6 Hikaru Sugiura
Outline
• Monadic Case
• Over 3-rank Array, Matrix, Vector, Scalar
• Apply to empty list
• Conclusion: Monadic
• Dyadic Case
• Matrix, Vector
• Exception: special case
• Error case
• Conclusion : Dyadic
,. : Monadic Case
Items
Matrix
Ravel Items
Definition: y ravels the items of y.
18 19 20
21 22 23
24 25 26
Apply to rank-3 array
Ravel Items returns
the nx(m*o) Matrix for the nxmxo array.
0 1 2 3 4 5 6 7 8
9 10 11 12 13 14 15 16 17
18 19 20 21 22 23 24 25 26
9 10 11
12 13 14
15 16 17
0 1 2
3 4 5
6 7 8
3rd
2nd
1st
m*o
m
o
n
n
,.
i.3 3 3
Matrix
Apply to matrix
Ravel Items returns
the Same Matrix for the matrix.
0 1 2
3 4 5
6 7 8
0 1 2
3 4 5
6 7 8
,.
n
m
1st
2ndi.3 3
0 1 2
Apply to vector
Ravel Items returns
a nx1 Matrix for the n vector.
Shape : 3 1
0
1
2
,.
n
1st
i.3
Apply to scaler
Ravel Items returns
a 1x1 Matrix for the scaler.
33,.
No axis!
Shape : 1 1
Ravel Items returns
the Matrix for a scaler, vector, matrix
and any size array.
i.e.
Arg:Rank
Result
Shape Rank
Scalar : 0 1 1 2
n
Vector : 1
n 1 2
nxm
Matrix : 2
n m 2
nxmxo
Array: 3
n m*o 2
Matrix!
}
Apply to Empty list
Result : ,. i. 0 0 0 → (empty)
Ravel Items returns
the 0x0 Matrix for the empty list.
Rank : $$ ,. i. 0 0 0 → 2
Shape : $ ,. i. 0 0 0 →  0 0
Conclusion:Monadic
Ravel Items returns
the Matrix for the any list
Arg:Rank
Result
Shape Rank
Scalar : 0 1 1 2
n
Vector : 1
n 1 2
nxm
Matrix : 2
n m 2
nxmxo
Array: 3
n m*o 2
nxmxo…xz n m*o*…*z 2
※ n,m,…,z ≧ 0
Effective to over
4-rank Array.
Make matrix and
possible to process
with other one.
,. : Dyadic case
Stitch
Definition: x ,. y the items of x and stitched to the
corresponding items of y.
X Y,. X Y
One Item
Example
0 1 2
3 4 5
6 7 8
0 1 2
3 4 5
6 7 8
,.
0 1 2 0 1 2
3 4 5 3 4 5
6 7 8 6 7 8
3x6 Matrixi.3 3 i.3 3
0 1 2 3
4 5 6 7
8 9 10 11
0 1 2
3 4 5
6 7 8
,.
0 1 2 3 0 1 2
4 5 6 7 3 4 5
8 9 10 11 6 7 8
i.3 4 i.3 3
• Matrices
3x7 Matrix
Example
0 1 2
3 4 5
6 7 8
0 1 2,.
i.3 3 i.3
• Matrix and Vector
0 1 2 0
3 4 5 1
6 7 8 2
3x4 Matrix
0 1 2 ,.
0 0
1 1
2 2
• Vectors 2x3 Matrix
0 1 2
i.3
0 1 2 0 1 2not!
i.3
Example
,.1 2
• Scalars
1 2
Vector
• Scalar and Vector
0 1 2
i.3
3,.
0 3
1 3
2 3
Matrix
Repeating
to Fit!
Error Case
• Length Error
0 1 2
3 4 5
6 7 8
0 1
3 4
,.
0
1
2
,.
Matrix and Matrix
The lengths of Y-axis
Must be matched.
Vector and Vector
The length
Must be matched.
0
1
2
3
※Scaler automatically match to other item by repeating.
Conclusion:Dyadic
Stitch returns
Joint-Item made from (left) and (right).
In over 1-rank items, The lengths must be matched.
X Y,. X Y
One Item

More Related Content

What's hot

Lesson 2 Feb 11 2010
Lesson 2 Feb 11 2010Lesson 2 Feb 11 2010
Lesson 2 Feb 11 2010ingroy
 
MATLAB - Aplication of Arrays and Matrices in Electrical Systems
MATLAB - Aplication of Arrays and Matrices in Electrical SystemsMATLAB - Aplication of Arrays and Matrices in Electrical Systems
MATLAB - Aplication of Arrays and Matrices in Electrical SystemsShameer Ahmed Koya
 
Writing Function Rules - Calculator
Writing Function Rules - CalculatorWriting Function Rules - Calculator
Writing Function Rules - CalculatorBitsy Griffin
 
Rabbit challenge 1_math
Rabbit challenge 1_mathRabbit challenge 1_math
Rabbit challenge 1_mathTOMMYLINK1
 
3.2.interpolation lagrange
3.2.interpolation lagrange3.2.interpolation lagrange
3.2.interpolation lagrangeSamuelOseiAsare
 
MATRICES
MATRICESMATRICES
MATRICESfaijmsk
 
presentation on matrix
 presentation on matrix presentation on matrix
presentation on matrixNikhi Jain
 
Bba i-bm-u-2- matrix -
Bba i-bm-u-2- matrix -Bba i-bm-u-2- matrix -
Bba i-bm-u-2- matrix -Rai University
 

What's hot (12)

Lesson 2 Feb 11 2010
Lesson 2 Feb 11 2010Lesson 2 Feb 11 2010
Lesson 2 Feb 11 2010
 
MATLAB - Aplication of Arrays and Matrices in Electrical Systems
MATLAB - Aplication of Arrays and Matrices in Electrical SystemsMATLAB - Aplication of Arrays and Matrices in Electrical Systems
MATLAB - Aplication of Arrays and Matrices in Electrical Systems
 
Writing Function Rules - Calculator
Writing Function Rules - CalculatorWriting Function Rules - Calculator
Writing Function Rules - Calculator
 
2 2
2 22 2
2 2
 
Rabbit challenge 1_math
Rabbit challenge 1_mathRabbit challenge 1_math
Rabbit challenge 1_math
 
Es272 ch5a
Es272 ch5aEs272 ch5a
Es272 ch5a
 
3.2.interpolation lagrange
3.2.interpolation lagrange3.2.interpolation lagrange
3.2.interpolation lagrange
 
MATRICES
MATRICESMATRICES
MATRICES
 
Assignment 1
Assignment 1Assignment 1
Assignment 1
 
Es272 ch5b
Es272 ch5bEs272 ch5b
Es272 ch5b
 
presentation on matrix
 presentation on matrix presentation on matrix
presentation on matrix
 
Bba i-bm-u-2- matrix -
Bba i-bm-u-2- matrix -Bba i-bm-u-2- matrix -
Bba i-bm-u-2- matrix -
 

Similar to Introducing J-Language Function: ",." (Commma-dot)

Matrix Algebra : Mathematics for Business
Matrix Algebra : Mathematics for BusinessMatrix Algebra : Mathematics for Business
Matrix Algebra : Mathematics for BusinessKhan Tanjeel Ahmed
 
Matrix presentation By DHEERAJ KATARIA
Matrix presentation By DHEERAJ KATARIAMatrix presentation By DHEERAJ KATARIA
Matrix presentation By DHEERAJ KATARIADheeraj Kataria
 
Tensor representations in signal processing and machine learning (tutorial ta...
Tensor representations in signal processing and machine learning (tutorial ta...Tensor representations in signal processing and machine learning (tutorial ta...
Tensor representations in signal processing and machine learning (tutorial ta...Tatsuya Yokota
 
Chapter 3: Linear Systems and Matrices - Part 2/Slides
Chapter 3: Linear Systems and Matrices - Part 2/SlidesChapter 3: Linear Systems and Matrices - Part 2/Slides
Chapter 3: Linear Systems and Matrices - Part 2/SlidesChaimae Baroudi
 
The rules of indices
The rules of indicesThe rules of indices
The rules of indicesYu Kok Hui
 
lecture0003-numerical-methods-topic-3-solution-of-systems-of-linear-equations...
lecture0003-numerical-methods-topic-3-solution-of-systems-of-linear-equations...lecture0003-numerical-methods-topic-3-solution-of-systems-of-linear-equations...
lecture0003-numerical-methods-topic-3-solution-of-systems-of-linear-equations...wafahop
 
Precalculus 09 Matrices.pptx
Precalculus 09 Matrices.pptxPrecalculus 09 Matrices.pptx
Precalculus 09 Matrices.pptxKarloFritz
 
Precalculus 09 Matrices.pptx
Precalculus 09 Matrices.pptxPrecalculus 09 Matrices.pptx
Precalculus 09 Matrices.pptxPiyaliBhar1
 
Eigenvalues and eigenvectors
Eigenvalues and eigenvectorsEigenvalues and eigenvectors
Eigenvalues and eigenvectorsiraq
 
11th MATRICES PPT.pptx
11th MATRICES PPT.pptx11th MATRICES PPT.pptx
11th MATRICES PPT.pptx21EDM04Merlin
 
Matrices and Determinants
Matrices and DeterminantsMatrices and Determinants
Matrices and DeterminantsSOMASUNDARAM T
 
LinearAlgebra_2016updatedFromwiki.ppt
LinearAlgebra_2016updatedFromwiki.pptLinearAlgebra_2016updatedFromwiki.ppt
LinearAlgebra_2016updatedFromwiki.pptAruneshAdarsh
 
LinearAlgebra_2016updatedFromwiki.ppt
LinearAlgebra_2016updatedFromwiki.pptLinearAlgebra_2016updatedFromwiki.ppt
LinearAlgebra_2016updatedFromwiki.pptHumayilZia
 

Similar to Introducing J-Language Function: ",." (Commma-dot) (20)

Matrix Algebra : Mathematics for Business
Matrix Algebra : Mathematics for BusinessMatrix Algebra : Mathematics for Business
Matrix Algebra : Mathematics for Business
 
MATLAB - Arrays and Matrices
MATLAB - Arrays and MatricesMATLAB - Arrays and Matrices
MATLAB - Arrays and Matrices
 
Matrix presentation By DHEERAJ KATARIA
Matrix presentation By DHEERAJ KATARIAMatrix presentation By DHEERAJ KATARIA
Matrix presentation By DHEERAJ KATARIA
 
Tensor representations in signal processing and machine learning (tutorial ta...
Tensor representations in signal processing and machine learning (tutorial ta...Tensor representations in signal processing and machine learning (tutorial ta...
Tensor representations in signal processing and machine learning (tutorial ta...
 
Chapter 3: Linear Systems and Matrices - Part 2/Slides
Chapter 3: Linear Systems and Matrices - Part 2/SlidesChapter 3: Linear Systems and Matrices - Part 2/Slides
Chapter 3: Linear Systems and Matrices - Part 2/Slides
 
lecture_note.ppt
lecture_note.pptlecture_note.ppt
lecture_note.ppt
 
Matlab tutorial 2
Matlab tutorial 2Matlab tutorial 2
Matlab tutorial 2
 
The rules of indices
The rules of indicesThe rules of indices
The rules of indices
 
lecture0003-numerical-methods-topic-3-solution-of-systems-of-linear-equations...
lecture0003-numerical-methods-topic-3-solution-of-systems-of-linear-equations...lecture0003-numerical-methods-topic-3-solution-of-systems-of-linear-equations...
lecture0003-numerical-methods-topic-3-solution-of-systems-of-linear-equations...
 
Precalculus 09 Matrices.pptx
Precalculus 09 Matrices.pptxPrecalculus 09 Matrices.pptx
Precalculus 09 Matrices.pptx
 
Precalculus 09 Matrices.pptx
Precalculus 09 Matrices.pptxPrecalculus 09 Matrices.pptx
Precalculus 09 Matrices.pptx
 
Eigenvalues and eigenvectors
Eigenvalues and eigenvectorsEigenvalues and eigenvectors
Eigenvalues and eigenvectors
 
matricesMrtices
matricesMrticesmatricesMrtices
matricesMrtices
 
11th MATRICES PPT.pptx
11th MATRICES PPT.pptx11th MATRICES PPT.pptx
11th MATRICES PPT.pptx
 
Matrices and Determinants
Matrices and DeterminantsMatrices and Determinants
Matrices and Determinants
 
LinearAlgebra_2016updatedFromwiki.ppt
LinearAlgebra_2016updatedFromwiki.pptLinearAlgebra_2016updatedFromwiki.ppt
LinearAlgebra_2016updatedFromwiki.ppt
 
LinearAlgebra_2016updatedFromwiki.ppt
LinearAlgebra_2016updatedFromwiki.pptLinearAlgebra_2016updatedFromwiki.ppt
LinearAlgebra_2016updatedFromwiki.ppt
 
Graph Period 1-2
Graph  Period 1-2Graph  Period 1-2
Graph Period 1-2
 
Matrices ppt
Matrices pptMatrices ppt
Matrices ppt
 
Introduction of matrices
Introduction of matricesIntroduction of matrices
Introduction of matrices
 

Recently uploaded

21scheme vtu syllabus of visveraya technological university
21scheme vtu syllabus of visveraya technological university21scheme vtu syllabus of visveraya technological university
21scheme vtu syllabus of visveraya technological universityMohd Saifudeen
 
Raashid final report on Embedded Systems
Raashid final report on Embedded SystemsRaashid final report on Embedded Systems
Raashid final report on Embedded SystemsRaashidFaiyazSheikh
 
Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...
Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...
Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...Nitin Sonavane
 
Software Engineering Practical File Front Pages.pdf
Software Engineering Practical File Front Pages.pdfSoftware Engineering Practical File Front Pages.pdf
Software Engineering Practical File Front Pages.pdfssuser5c9d4b1
 
Autodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptxAutodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptxMustafa Ahmed
 
The Entity-Relationship Model(ER Diagram).pptx
The Entity-Relationship Model(ER Diagram).pptxThe Entity-Relationship Model(ER Diagram).pptx
The Entity-Relationship Model(ER Diagram).pptxMANASINANDKISHORDEOR
 
Fuzzy logic method-based stress detector with blood pressure and body tempera...
Fuzzy logic method-based stress detector with blood pressure and body tempera...Fuzzy logic method-based stress detector with blood pressure and body tempera...
Fuzzy logic method-based stress detector with blood pressure and body tempera...IJECEIAES
 
Microkernel in Operating System | Operating System
Microkernel in Operating System | Operating SystemMicrokernel in Operating System | Operating System
Microkernel in Operating System | Operating SystemSampad Kar
 
Online crime reporting system project.pdf
Online crime reporting system project.pdfOnline crime reporting system project.pdf
Online crime reporting system project.pdfKamal Acharya
 
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptxSLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptxCHAIRMAN M
 
Diploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdfDiploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdfJNTUA
 
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...josephjonse
 
What is Coordinate Measuring Machine? CMM Types, Features, Functions
What is Coordinate Measuring Machine? CMM Types, Features, FunctionsWhat is Coordinate Measuring Machine? CMM Types, Features, Functions
What is Coordinate Measuring Machine? CMM Types, Features, FunctionsVIEW
 
Dynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptxDynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptxMustafa Ahmed
 
Piping and instrumentation diagram p.pdf
Piping and instrumentation diagram p.pdfPiping and instrumentation diagram p.pdf
Piping and instrumentation diagram p.pdfAshrafRagab14
 
Seizure stage detection of epileptic seizure using convolutional neural networks
Seizure stage detection of epileptic seizure using convolutional neural networksSeizure stage detection of epileptic seizure using convolutional neural networks
Seizure stage detection of epileptic seizure using convolutional neural networksIJECEIAES
 
Basics of Relay for Engineering Students
Basics of Relay for Engineering StudentsBasics of Relay for Engineering Students
Basics of Relay for Engineering Studentskannan348865
 
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...drjose256
 
Worksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxWorksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxMustafa Ahmed
 
Lab Manual Arduino UNO Microcontrollar.docx
Lab Manual Arduino UNO Microcontrollar.docxLab Manual Arduino UNO Microcontrollar.docx
Lab Manual Arduino UNO Microcontrollar.docxRashidFaridChishti
 

Recently uploaded (20)

21scheme vtu syllabus of visveraya technological university
21scheme vtu syllabus of visveraya technological university21scheme vtu syllabus of visveraya technological university
21scheme vtu syllabus of visveraya technological university
 
Raashid final report on Embedded Systems
Raashid final report on Embedded SystemsRaashid final report on Embedded Systems
Raashid final report on Embedded Systems
 
Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...
Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...
Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...
 
Software Engineering Practical File Front Pages.pdf
Software Engineering Practical File Front Pages.pdfSoftware Engineering Practical File Front Pages.pdf
Software Engineering Practical File Front Pages.pdf
 
Autodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptxAutodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptx
 
The Entity-Relationship Model(ER Diagram).pptx
The Entity-Relationship Model(ER Diagram).pptxThe Entity-Relationship Model(ER Diagram).pptx
The Entity-Relationship Model(ER Diagram).pptx
 
Fuzzy logic method-based stress detector with blood pressure and body tempera...
Fuzzy logic method-based stress detector with blood pressure and body tempera...Fuzzy logic method-based stress detector with blood pressure and body tempera...
Fuzzy logic method-based stress detector with blood pressure and body tempera...
 
Microkernel in Operating System | Operating System
Microkernel in Operating System | Operating SystemMicrokernel in Operating System | Operating System
Microkernel in Operating System | Operating System
 
Online crime reporting system project.pdf
Online crime reporting system project.pdfOnline crime reporting system project.pdf
Online crime reporting system project.pdf
 
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptxSLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
 
Diploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdfDiploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdf
 
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
 
What is Coordinate Measuring Machine? CMM Types, Features, Functions
What is Coordinate Measuring Machine? CMM Types, Features, FunctionsWhat is Coordinate Measuring Machine? CMM Types, Features, Functions
What is Coordinate Measuring Machine? CMM Types, Features, Functions
 
Dynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptxDynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptx
 
Piping and instrumentation diagram p.pdf
Piping and instrumentation diagram p.pdfPiping and instrumentation diagram p.pdf
Piping and instrumentation diagram p.pdf
 
Seizure stage detection of epileptic seizure using convolutional neural networks
Seizure stage detection of epileptic seizure using convolutional neural networksSeizure stage detection of epileptic seizure using convolutional neural networks
Seizure stage detection of epileptic seizure using convolutional neural networks
 
Basics of Relay for Engineering Students
Basics of Relay for Engineering StudentsBasics of Relay for Engineering Students
Basics of Relay for Engineering Students
 
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
 
Worksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxWorksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptx
 
Lab Manual Arduino UNO Microcontrollar.docx
Lab Manual Arduino UNO Microcontrollar.docxLab Manual Arduino UNO Microcontrollar.docx
Lab Manual Arduino UNO Microcontrollar.docx
 

Introducing J-Language Function: ",." (Commma-dot)

  • 1. J symbol “ ., ” (comma-dot) Group 6 Hikaru Sugiura
  • 2. Outline • Monadic Case • Over 3-rank Array, Matrix, Vector, Scalar • Apply to empty list • Conclusion: Monadic • Dyadic Case • Matrix, Vector • Exception: special case • Error case • Conclusion : Dyadic
  • 3. ,. : Monadic Case Items Matrix Ravel Items Definition: y ravels the items of y.
  • 4. 18 19 20 21 22 23 24 25 26 Apply to rank-3 array Ravel Items returns the nx(m*o) Matrix for the nxmxo array. 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 9 10 11 12 13 14 15 16 17 0 1 2 3 4 5 6 7 8 3rd 2nd 1st m*o m o n n ,. i.3 3 3 Matrix
  • 5. Apply to matrix Ravel Items returns the Same Matrix for the matrix. 0 1 2 3 4 5 6 7 8 0 1 2 3 4 5 6 7 8 ,. n m 1st 2ndi.3 3
  • 6. 0 1 2 Apply to vector Ravel Items returns a nx1 Matrix for the n vector. Shape : 3 1 0 1 2 ,. n 1st i.3
  • 7. Apply to scaler Ravel Items returns a 1x1 Matrix for the scaler. 33,. No axis! Shape : 1 1
  • 8. Ravel Items returns the Matrix for a scaler, vector, matrix and any size array. i.e. Arg:Rank Result Shape Rank Scalar : 0 1 1 2 n Vector : 1 n 1 2 nxm Matrix : 2 n m 2 nxmxo Array: 3 n m*o 2 Matrix! }
  • 9. Apply to Empty list Result : ,. i. 0 0 0 → (empty) Ravel Items returns the 0x0 Matrix for the empty list. Rank : $$ ,. i. 0 0 0 → 2 Shape : $ ,. i. 0 0 0 →  0 0
  • 10. Conclusion:Monadic Ravel Items returns the Matrix for the any list Arg:Rank Result Shape Rank Scalar : 0 1 1 2 n Vector : 1 n 1 2 nxm Matrix : 2 n m 2 nxmxo Array: 3 n m*o 2 nxmxo…xz n m*o*…*z 2 ※ n,m,…,z ≧ 0 Effective to over 4-rank Array. Make matrix and possible to process with other one.
  • 11. ,. : Dyadic case Stitch Definition: x ,. y the items of x and stitched to the corresponding items of y. X Y,. X Y One Item
  • 12. Example 0 1 2 3 4 5 6 7 8 0 1 2 3 4 5 6 7 8 ,. 0 1 2 0 1 2 3 4 5 3 4 5 6 7 8 6 7 8 3x6 Matrixi.3 3 i.3 3 0 1 2 3 4 5 6 7 8 9 10 11 0 1 2 3 4 5 6 7 8 ,. 0 1 2 3 0 1 2 4 5 6 7 3 4 5 8 9 10 11 6 7 8 i.3 4 i.3 3 • Matrices 3x7 Matrix
  • 13. Example 0 1 2 3 4 5 6 7 8 0 1 2,. i.3 3 i.3 • Matrix and Vector 0 1 2 0 3 4 5 1 6 7 8 2 3x4 Matrix 0 1 2 ,. 0 0 1 1 2 2 • Vectors 2x3 Matrix 0 1 2 i.3 0 1 2 0 1 2not! i.3
  • 14. Example ,.1 2 • Scalars 1 2 Vector • Scalar and Vector 0 1 2 i.3 3,. 0 3 1 3 2 3 Matrix Repeating to Fit!
  • 15. Error Case • Length Error 0 1 2 3 4 5 6 7 8 0 1 3 4 ,. 0 1 2 ,. Matrix and Matrix The lengths of Y-axis Must be matched. Vector and Vector The length Must be matched. 0 1 2 3 ※Scaler automatically match to other item by repeating.
  • 16. Conclusion:Dyadic Stitch returns Joint-Item made from (left) and (right). In over 1-rank items, The lengths must be matched. X Y,. X Y One Item