Post · 2 min read· pp. 867–868

aerosandbox.numpy.linalg

Functions

inner(x, y[, manual])Inner product of two arrays.
outer(x, y[, manual])Compute the outer product of two vectors.
solve(A, b)Solve the linear system Ax=b for x.
inv(A)Returns the inverse of the matrix A.
pinv(A)Returns the Moore-Penrose pseudoinverse of the matrix A.
det(A)Returns the determinant of the matrix A.
norm(x[, ord, axis, keepdims])Matrix or vector norm.
inv_symmetric_3x3(m11, m22, m33, m12, m23, m13)Explicitly computes the inverse of a symmetric 3x3 matrix.

Module Contents

aerosandbox.numpy.linalg.inner(x, y, manual=False) : Inner product of two arrays.

code
See syntax here: <https://numpy.org/doc/stable/reference/generated/numpy.inner.html>

aerosandbox.numpy.linalg.outer(x, y, manual=False) : Compute the outer product of two vectors.

code
See syntax here: <https://numpy.org/doc/stable/reference/generated/numpy.outer.html>

aerosandbox.numpy.linalg.solve(A, b) : Solve the linear system Ax=b for x. :param A: A square matrix. :param b: A vector representing the RHS of the linear system.

code
Returns: The solution vector x.

aerosandbox.numpy.linalg.inv(A) : Returns the inverse of the matrix A.

code
See: <https://numpy.org/doc/stable/reference/generated/numpy.linalg.inv.html>

aerosandbox.numpy.linalg.pinv(A) : Returns the Moore-Penrose pseudoinverse of the matrix A.

code
See: <https://numpy.org/doc/stable/reference/generated/numpy.linalg.pinv.html>

aerosandbox.numpy.linalg.det(A) : Returns the determinant of the matrix A.

code
See: <https://numpy.org/doc/stable/reference/generated/numpy.linalg.det.html>

aerosandbox.numpy.linalg.norm(x, ord=None, axis=None, keepdims=False) : Matrix or vector norm.

code
See syntax here: <https://numpy.org/doc/stable/reference/generated/numpy.linalg.norm.html>

aerosandbox.numpy.linalg.inv_symmetric_3x3(m11, m22, m33, m12, m23, m13) : Explicitly computes the inverse of a symmetric 3x3 matrix.

code
Input matrix (note symmetry):

[m11, m12, m13]
[m12, m22, m23]
[m13, m23, m33]

Output matrix (note symmetry):

[a11, a12, a13]
[a12, a22, a23]
[a13, a23, a33]

From <https://math.stackexchange.com/questions/233378/inverse-of-a-3-x-3-covariance-matrix-or-any-positive-definite-pd-matrix>