Skip to content

this is an basic example of one way to rotate square matrices using java script or ts

efirst91/rotated-matrix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a simple example of rotate one matrix 90 degree according to the clockwise

Technologies

This example only use typescript and javascript.

For test the result you can open the index.html.

Important !This is only for square matrices

Matrix

In this case we use the next matrix:
[
   [1, 2, 3, 4],
   [4, 5, 6, 7],
   [8, 9, 1, 5],
   [8, 5, 3, 1]
]

About

this is an basic example of one way to rotate square matrices using java script or ts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published