Skip to content
Snippets Groups Projects
  1. Apr 10, 2015
    • Mikael Vejdemo-Johansson's avatar
      Changed generating functions printouts to be copy-paste-able into SageMath. · d13657a4
      Mikael Vejdemo-Johansson authored
      Now we can do things like:
      
      # copy-paste from output
      ring.<t,L,tie,Cn,M,Ln,I,D,J,Rn,A,K,F,G> = QQ[]
      ID = ring.ideal(L - (1*Cn*t),tie - (1*Ln*t),Cn - (1*I + 1*J),M - (1*t^2),Ln - (1*D + 1*L + 1*M),I - (1*Rn*t),D - (1*Rn*t),J - (1*Ln*t),Rn - (1*F + 1*G + 1*K),A - (1*tie),K - (1*t^2),F - (1*Ln*t),G - (1*Cn*t))
      
      # we are interested in tie in terms of t; so we want to remove anything not these two:
      ID.elimination_ideal([L,Cn,M,Ln,I,D,J,Rn,A,K,F,G])
      
      # output from this SageMath command is
      # Ideal (t^3 + 2*t^2*tie + t*tie - tie) of Multivariate Polynomial Ring in t, L, tie, Cn, M, Ln, I, D, J, Rn, A, K, F, G over Rational Field
      # which we can solve for tie to get tie = t^3/(1-t-2*t^2) just as expected
      d13657a4
  2. Apr 08, 2015
  3. Apr 07, 2015
  4. Mar 10, 2015
  5. Mar 04, 2015
  6. Feb 23, 2015
  7. Feb 13, 2015
  8. Feb 12, 2015
  9. Jan 30, 2015
  10. Jan 23, 2015
  11. Jan 05, 2015
  12. Jan 04, 2015
  13. Jan 03, 2015
    • Steven Dee's avatar
      H_VALIDATE_APPLY macro · 2dad0c48
      Steven Dee authored
      I've found this especially useful in combination with my own
      _attr_uint_const for things like flags and type specifiers.
      
      It's possible that its usefulness might be diminished significantly if
      there were a built-in bitfield constant parser -- that certainly would
      eliminate all of my current uses of it -- but it still seems nicely
      symmetric with H_ACT_APPLY.
      2dad0c48
    • Steven Dee's avatar
      Retab as though tabstop were 8 · 5abe74f8
      Steven Dee authored
      Tabs after the first non-tab character are crazymaking. I picked 8
      because it wasn't 7 and caused the backslashes to line up on
      H_ACT_APPLY.
      5abe74f8
  14. Dec 29, 2014
  15. Dec 07, 2014
Loading