Buckets:
| import Mathlib | |
| namespace OAI | |
| namespace AffinePSD | |
| open Matrix Finset | |
| open scoped BigOperators | |
| variable {I R : Type*} [Fintype I] [Fintype R] [DecidableEq R] | |
| noncomputable def evaluation (B : I → Matrix R R ℝ) : Matrix R R ℝ →ₗ[ℝ] (I → ℝ) where | |
| toFun A := fun i => (A * B i).trace | |
| map_add' A C := by ext i; simp [add_mul, Matrix.trace_add] | |
| map_smul' t A := by ext i; simp [Matrix.trace_smul] | |
| omit [Fintype I] in | |
| @[simp] lemma evaluation_apply (B : I → Matrix R R ℝ) (A : Matrix R R ℝ) (i : I) : | |
| evaluation B A i = (A * B i).trace := rfl | |
| noncomputable def evaluationCone (B : I → Matrix R R ℝ) : Set (I → ℝ) := | |
| evaluation B '' {A | A.PosSemidef} | |
| end AffinePSD | |
| end OAI | |
Xet Storage Details
- Size:
- 714 Bytes
- Xet hash:
- f002a8b9b1abd4b70211d5dfdc90453b3668284ca447e1ffef5775945b612e26
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.