Interface LinearOperator

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface LinearOperator
Matrix-free linear operator: applies an underlying linear map to a vector without materialising the matrix. Mirrors scipy's scipy.sparse.linalg.LinearOperator.
  • Method Summary

    Modifier and Type
    Method
    Description
    Apply the linear operator to a given vector.
  • Method Details

    • apply

      Matrix apply(Matrix x)
      Apply the linear operator to a given vector.
      Parameters:
      x - [n] vector
      Returns:
      [m] result