This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / sparse / linalg / _interface / LinearOperator / rmatvec

function

scipy.sparse.linalg._interface:LinearOperator.rmatvec

source: build-install/usr/lib/python3.14/site-packages/scipy/sparse/linalg/_interface.py:395

Signature

def rmatvec(self, x)

Summary

Adjoint matrix-vector multiplication.

Extended Summary

Applies A^H to x, where A is an M x N linear operator (or batch of linear operators) and x is a row vector (or batch of such vectors).

Parameters

x : {matrix, ndarray}

An array with shape (..., M) representing a row vector (or batch of row vectors), or an array with shape (M, 1) representing a column vector.

Returns

y : {matrix, ndarray}

An array with shape (..., N).

Notes

This method wraps the user-specified rmatvec routine or overridden _rmatvec method to ensure that y has the correct shape and type.

Aliases

  • scipy.linalg._decomp_interpolative.LinearOperator.rmatvec