Section01 Vectors and Linear
Perspective from Rows
Two or more hyperplane() meeting at a single point. (when is Invertible
Perspective from Columns
Linear Combination of the columns.
Coefficient Matrix
Matrix equation
Identity Matrix
- for any Matrix
Multiplication in Julia
create Matrix and Vector
# Create a matrix A = [1 2 3; 2 5 2; 6 -3 1]; # Create a vector x = [0 0 2]'; # or x = [0,0,2];Matrix Multiplication
b = A * x- perspective of rows
b = [A[1,:]' * x, A[2,:]' * x, A[3,:]' * x] - perspective of columns
b = x[1] * A[:,1] + x[2] * A[:,2] + x[3] * A[:,3]
- perspective of rows
Markov Matrix
- example
Magic Matrix
example
generating in Julia
# need to add the MatrixDepot Packages using MatrixDepot M = matrixdepot("magic", Int, 5);