Coarse-graining support: Support.Ambient.Basic #
Imported from the Apache-2.0 CoarseGraining development at commit
c7ddd76c08ade64fed1b8d2ca51be14dfee8deb4.
Real coordinate vectors in dimension d.
Equations
- HCPolySupport.Vec d = (Fin d → ℝ)
Instances For
A two-by-two block matrix with real d-by-d blocks.
- upperLeft : Mat d
The block mapping the first input vector to the first output vector.
- upperRight : Mat d
The block mapping the second input vector to the first output vector.
- lowerLeft : Mat d
The block mapping the first input vector to the second output vector.
- lowerRight : Mat d
The block mapping the second input vector to the second output vector.
Instances For
Equations
The Euclidean dot product, given by the sum of coordinate products.
Equations
- HCPolySupport.vecDot x y = ∑ i : Fin d, x i * y i
Instances For
The squared Euclidean length of a vector.
Equations
Instances For
Matrix multiplication applied to a coordinate vector.
Equations
- HCPolySupport.matVecMul A x i = ∑ j : Fin d, A i j * x j
Instances For
The matrix obtained by interchanging row and column indices.
Equations
Instances For
The sum of the Euclidean dot products of the two vector components.
Equations
- HCPolySupport.blockVecDot X Y = HCPolySupport.vecDot X.1 Y.1 + HCPolySupport.vecDot X.2 Y.2
Instances For
The symmetric part (A + Aᵀ) / 2 of a real matrix.
Equations
- HCPolySupport.symmPart A i j = (A i j + A j i) / 2
Instances For
The skew-symmetric part (A - Aᵀ) / 2 of a real matrix.
Equations
- HCPolySupport.skewPart A i j = (A i j - A j i) / 2