🎉 initiate project *astro_rewrite*
This commit is contained in:
parent
ffd4d5e86c
commit
2ba37bfbe3
8658 changed files with 2268794 additions and 2538 deletions
9
node_modules/shiki/samples/wolfram.sample
generated
vendored
Normal file
9
node_modules/shiki/samples/wolfram.sample
generated
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
iStochasticityAssumptions [sm_List] :=
|
||||
SquareMatrixQ[sm] && Element[DeleteDuplicates[Flatten[sm]], Reals] &&
|
||||
Apply [And, Map[#>=0&, sm, {2}], {0, 1}] && Apply [And, Thread[Total[sm, {2}] == 1]]
|
||||
|
||||
iStochasticityAssumptions[sm_SparseArray] := SquareMatrixQ[sm] &&
|
||||
Apply[And, Thread[ DeleteDuplicates [ sm["NonzeroValues"] ~Join~ {sm["Background"]} ] >= 0 ] ] &&
|
||||
Apply[And, Thread [Total [sm, {2}] = 1]]
|
||||
|
||||
(* https://github.com/WolframResearch/vscode-wolfram/blob/master/docs/highlighting.png *)
|
||||
Loading…
Add table
Add a link
Reference in a new issue