Sponsored links: Algebra eBooks
 

Related

feature

Run Example
(%i1)eq1:x*4+y-2=y;
(%o1)                           y + 4 x - 2 = y
(%i2) eq2:x+2=y;
(%o2)                              x + 2 = y
(%i3) linsolve([eq1,eq2],[x,y]);
                                     1      5
(%o3)                           [x = -, y = -]
                                     2      2
(%i4) declare(m, integer);
(%o4)                                done
(%i5) declare(n, integer);
(%o5)                                done
(%i6) matchdeclare (m,lambda([t],feature(t,integer)));
(%o6)                                done
(%i7) matchdeclare (n,lambda([t],feature(t,integer)));
(%o7)                                done
(%i8) tellsimp(bra(m).ket(n), kron_delta(m,n));
(%o8)                          [.rule1, simpnct]
(%i9) bra(1).ket(2);
(%o9)                           bra(1) . ket(2)
(%i10) kroon_delta(1,2);
(%o10)                         kroon_delta(1, 2)
(%i11) 
Run Example
? feature;

 -- Declaration: feature
     Maxima understands two distinct types of features, system features
     and features which apply to mathematical expressions.  See also
     `status' for information about system features.  See also
     `features' and `featurep' for information about mathematical
     features.

     `feature' itself is not the name of a function or variable.


  There are also some inexact matches for `feature'.
  Try `?? feature' to see them.

(%o1)                                true
(%i2) 
Run Example
eq1:x*4+y-2=y;
(%o1)                           y + 4 x - 2 = y
(%i2) eq2:x+2=y;
(%o2)                              x + 2 = y
(%i3) linsolve([eq1,eq2],[x,y]);
                                     1      5
(%o3)                           [x = -, y = -]
                                     2      2
(%i4) declare(m, integer);
(%o4)                                done
(%i5) declare(n, integer);
(%o5)                                done
(%i6) matchdeclare (m,lambda([t],feature(t,integer)));
(%o6)                                done
(%i7) matchdeclare (n,lambda([t],feature(t,integer)));
(%o7)                                done
(%i8) tellsimp(bra(m).ket(n), kron_delta(m,n));
(%o8)                          [.rule1, simpnct]
(%i9) bra(1).ket(2);
(%o9)                           bra(1) . ket(2)
(%i10) kron_delta(1,2);
(%o10)                                 0
(%i11) bra(1).ket(2);
(%o11)                          bra(1) . ket(2)
(%i12) simplify(bra(1).ket(2));
(%o12)                     simplify(bra(1) . ket(2))
(%i13) declare(bra,nonscalar);
(%o13)                               done
(%i14) declare(ket,nonscalar);
(%o14)                               done
(%i15) 

Related Help

Help for Feature