Learn R Programming

complex (version 1.0.0)

invert: Function calculates inverse of matrix of complex variables

Description

The function accepts a square complex matrix and returns inverse of it.

Usage

invert(x)

Value

The function returns a matrix of the same size as the original matrix x

Arguments

x

The square matrix of complex variables.

Author

Ivan Svetunkov, ivan@svetunkov.ru

See Also

Examples

Run this code

invert(matrix(complex(real=c(1,2), imaginary=c(1.1,2.1)), 2, 2))

Run the code above in your browser using DataLab