Given below are the examples mentioned : Example #1 ![]() p: The reference array with which the resultant matrix or array should resemble in terms of data type or class, complexity i.e.Typename can be specified as’uint64′, ‘double’, ‘uint8′, ‘int32’, ‘uint32’, ‘int64’, ‘single’,’int8′, ‘int16’, ‘uint16’, ‘logical’or the name of another class that provides zeros support. typename: Defines the Data type or class for the output matrix Z to create with.N: Defines the size of the output matrix Z.zeros() function can support typename or ‘like’ in a single command but not both together. ![]() The zero matrix should match the matrix p with respect to the same data type or class, complexity i.e real or complex values and sparsity. This form of syntax returns an array containing all elements as zeros like the reference matrix p. This form of syntax returns an array containing all elements as zeros supported by the data type ‘typename’. This form of syntax returns an array containing all elements as zeros the output is stored in the variable ‘Z’ of size ‘sz’. This form of syntax returns a matrix containing all elements as zeros having dimensions of size sz1,…,szN and the output is stored in the variable ‘Z’. This form of syntax returns a matrix containing all elements as zeros of size nXn and the output is stored in the variable ‘Z’. a scalar having value 0 and the output is stored in the variable ‘Z’. This form of syntax returns an empty scalar i.e. Hadoop, Data Science, Statistics & others Syntax
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |