doc: Clean up engine comments
This commit is contained in:
parent
db1b315df2
commit
48732093f7
@ -59,11 +59,10 @@ nullmix = [Matrix{Int64}(I, 3, 3) zeros(Int64, 3, 2); zeros(Int64, 2, 3) [-1 1;
|
|||||||
unmix = [Matrix{Int64}(I, 3, 3) zeros(Int64, 3, 2); zeros(Int64, 2, 3) [-1 1; 1 1]]
|
unmix = [Matrix{Int64}(I, 3, 3) zeros(Int64, 3, 2); zeros(Int64, 2, 3) [-1 1; 1 1]]
|
||||||
|
|
||||||
# the Lorentz form
|
# the Lorentz form
|
||||||
## [old] Q = diagm([1, 1, 1, 1, -1])
|
|
||||||
Q = [Matrix{Int64}(I, 3, 3) zeros(Int64, 3, 2); zeros(Int64, 2, 3) [0 -2; -2 0]]
|
Q = [Matrix{Int64}(I, 3, 3) zeros(Int64, 3, 2); zeros(Int64, 2, 3) [0 -2; -2 0]]
|
||||||
|
|
||||||
# project a matrix onto the subspace of matrices whose entries vanish at the
|
# project a matrix onto the subspace of matrices whose entries vanish away from
|
||||||
# given indices
|
# the given indices
|
||||||
function proj_to_entries(mat, indices)
|
function proj_to_entries(mat, indices)
|
||||||
result = zeros(size(mat))
|
result = zeros(size(mat))
|
||||||
for (j, k) in indices
|
for (j, k) in indices
|
||||||
|
Loading…
Reference in New Issue
Block a user