numpy.matlib.empty()This function is used to return a new matrix with the uninitialized entries. SyntaxParametersIt accepts the following parameters.
ReturnA matrix with uninitialized entries is returned. ExampleOutput: [[6.94892251e-310 2.29200848e-316 0.00000000e+000] [0.00000000e+000 2.37151510e-322 2.37151510e-322] [0.00000000e+000 6.94889962e-310 0.00000000e+000]] Example: initializing integer valuesOutput: [[140584865515528 35760528 0] [ 0 0 0] [ 0 0 0]] Example: specifying Insertion orderOutput: [[140437489977352 22202768 0] [ 0 0 0] [ 0 0 0]] Next Topicnumpy.matlib.eye() |