LINEAR ALGEBRA (Part-1) - Scalars, Vectors, Matrices and Tensors
LINEAR ALGEBRA (Part-1) Scalars, Vectors, Matrices and Tensors Scalars Scalars are a single number. like 5 or 8 or 9 etc. you can say age=23 here 23 is a scalar value. Vectors Vectors are a series/array of elements. They are represented between a square bracket with spaces. Like below. ages = [ 23 25 33 54 ] Here, [ 23 25 33 54 ] is a Column Vector of ages. The Row Vector of ages will look like ages = [23 25 33 54] each element of a vector can be represented by a subscript number like ages 1 =23 or ages 3 =33 etc. the numbers of a vector do not have to be of same thing like. box = [ 2 4 8 "wood" ] here the box vector represents, box 1 = height = 2 inch box 2 = width = 4 inch box 3 = weight = 8 gram box 4 = made of = wood Matrix Matrix is a 2...