warp.fem.linalg.generalized_inner#

warp.fem.linalg.generalized_inner(x: Vector[Scalar, Any], y: Vector[Scalar, Any])[source]#
  • Kernel: true

Compute a generalized inner product.

Parameters:
  • x – Vector input.

  • y – Vector input.

Returns:

Scalar (y^T x).

warp.fem.linalg.generalized_inner(x: Scalar, y: Scalar)[source]
  • Kernel: true

Compute a generalized inner product.

Parameters:
  • x – Scalar input.

  • y – Scalar input.

Returns:

Scalar (x y).

warp.fem.linalg.generalized_inner(x: Matrix[Scalar, Any, Any], y: Vector[Scalar, Any])[source]
  • Kernel: true

Compute a generalized inner product.

Parameters:
  • x – Matrix input.

  • y – Vector input.

Returns:

Vector (y^T x).

warp.fem.linalg.generalized_inner(x: Vector[Scalar, Any], y: Matrix[Scalar, Any, Any])[source]
  • Kernel: true

Compute a generalized inner product.

Parameters:
  • x – Vector input.

  • y – Matrix input.

Returns:

Vector (x^T y).

warp.fem.linalg.generalized_inner(
x: Matrix[Scalar, Any, Any],
y: Matrix[Scalar, Any, Any],
)[source]
  • Kernel: true

Compute a generalized inner product.

Parameters:
  • x – Matrix input.

  • y – Matrix input.

Returns:

Scalar (x : y).