March 2019
Intermediate to advanced
336 pages
9h 9m
English
A column matrix is an m x 1 matrix that has a single column of m elements. The following code snippet shows how to create a column matrix:
var matrix = [4][1] int{ {1}, {2}, {3}, {4}}
Run the following command to execute the column_matrix.go file:
go run column_matrix.go
The output is as follows:

The next section talks about the lower triangular matrix data structure.
Read now
Unlock full access