Python | Numpy matrix.conjugate() Last Updated : 11 Jul, 2025 Summarize Comments Improve Suggest changes Share Like Article Like Report With the help of Numpy matrix.conjugate() method, we are able to find the conjugate of a given matrix having one or more than one dimension. Syntax : matrix.conjugate()Return : Return conjugate of given matrixExample #1 : In this example we can see that matrix.conjugate() method is used to conjugate the matrix. Remember string type of matrix doesn't work here. Python3 1== # import the important module in python import numpy as np # make an array with numpy gfg = np.matrix('[1 + 2j, 2 + 3j]') # applying matrix.conjugate() method geeks = gfg.conjugate() print(geeks) Output[[ 1.-2.j 2.-3.j]] Example #2 : Python3 1== # import the important module in python import numpy as np # make an array with numpy gfg = np.matrix('[1 + 2j, 2 + 3j, 3-2j; 1-4j, 2-3j, 7 + 8j]') # applying matrix.conjugate() method geeks = gfg.conjugate() print(geeks) Output[[ 1.-2.j 2.-3.j 3.+2.j] [ 1.+4.j 2.+3.j 7.-8.j]] Comment More infoAdvertise with us Next Article numpy.matrix() in Python J jitender_1998 Follow Improve Article Tags : Python Python-numpy Python numpy-Matrix Function Practice Tags : python Similar Reads numpy.matrix() in Python This class returns a matrix from a string of data or array-like object. Matrix obtained is a specialised 2D array. Syntax : numpy.matrix(data, dtype = None) : Parameters : data : data needs to be array-like or string dtype : Data type of returned array. Returns : data interpreted as a matrix Python 1 min read numpy.conj() in Python The numpy.conj() function helps the user to conjugate any complex number. The conjugate of a complex number is obtained by changing the sign of its imaginary part. If the complex number is 2+5j then its conjugate is 2-5j. Syntax:numpy.conj(x[, out] = ufunc 'conjugate') Parameters :x [array_like]: In 1 min read Numpy matrix.I function | Python With the help ofnumpy.matrix.I() function we can get the multiplicative inverse of the same size as of our given matrix. Syntax : numpy.matrix.I() Return : [matrix object] If self is non-singular, ret is such that ret * self == self * ret == np.matrix(np.eye(self[0, :].size) all return True. Return 1 min read numpy.asmatrix() in Python numpy.asmatrix(data, dtype = None) Returns a matrix by interpreting the input as a matrix. Parameters : data : array-like input data dtype : Data type of returned array Returns : Interprets the input as a matrix Python # Python Programming illustrating # numpy.asmatrix import numpy as geek # array-l 1 min read Python | Numpy numpy.matrix.A() With the help of Numpy numpy.matrix.A() method, we can get the same matrix as self. It means through this method we can get the identical matrix. Syntax : numpy.matrix.A() Return : Return self matrix Example #1 : In this example we can see that with the help of matrix.A() method, we are able to get 1 min read Numpy recarray.conjugate() function | Python In numpy, arrays may have a data-types containing fields, analogous to columns in a spreadsheet. An example is [(a, int), (b, float)], where each entry in the array is a pair of (int, float). Normally, these attributes are accessed using dictionary lookups such as arr['a'] and arr['b']. Record array 2 min read Like