Scalrars, vectors and Matrices as python array
m = np.array ([[5,12,6],[3,0,14]])
as i type this code in Juypter
and type m
its give an error
NameError: name 'm' is not defined
1 answers ( 0 marked as helpful)
run the first cell first. It must work.
Submit an answer
Resolved: Am I wrong when applied dot product with row vector and column vector it give result a scalar?
Transposing a vector How x_reshaped = x.reshape(1,3) makes a vector to 2D array