Skip to main content

Module traits

Module traits 

Source
Expand description

Shared scalar and element-operation traits.

Modules§

element_op
Element-wise operations applied lazily to strided views.
scalar
Scalar type bounds for strided operations and einsum.

Structs§

Adjoint
Adjoint operation: f(x) = adjoint(x) = conj(transpose(x)) For scalar numbers, this is conj.
Conj
Complex conjugate operation: f(x) = conj(x)
Identity
Identity operation: f(x) = x
Transpose
Transpose operation: f(x) = transpose(x) For scalar numbers, this is identity. For matrix elements, this would transpose each element.

Traits§

ComposableElementOp
Trait for element operations that support type-level composition.
Compose
Helper trait for composing two ElementOp types.
ElementOp
Trait for element-wise operations applied to strided views.
ElementOpApply
Trait for types that support element operations (conj, transpose, adjoint).
ScalarBase
Shared trait bounds for all element types usable with einsum, independent of GEMM backend.