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§
- Composable
Element Op - Trait for element operations that support type-level composition.
- Compose
- Helper trait for composing two ElementOp types.
- Element
Op - Trait for element-wise operations applied to strided views.
- Element
OpApply - Trait for types that support element operations (conj, transpose, adjoint).
- Scalar
Base - Shared trait bounds for all element types usable with einsum, independent of GEMM backend.