Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint

12.1. Matrix transposition

Taking the transpose of a matrix is one of the simplest operations in linear algebra. This section presents a brief overview of matrices, including their rows and columns, and then discusses how these rows and columns can be switched through matrix transposition. The last part of this section shows how this operation can be coded in OpenCL.

12.1.1. Introduction to matrices

A matrix is a rectangular arrangement of numbers. Matrices are represented graphically as a grid of numbers inside vertical bars. This is shown in figure 12.1.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial