Changeset 7b31394 in git for Singular/LIB/gfan.lib


Ignore:
Timestamp:
Sep 28, 2016, 11:58:00 AM (8 years ago)
Author:
Yue <ren@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '38077648e7239f98078663eb941c3c979511150a')
Children:
3df2f4ae1201d1fe6ffc6d7f6ef327add47fb224
Parents:
49eda62d37d7ece68028f6776f4a08a6813eccd9
Message:
chg: added faceContainig and removed undocumented procedures
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/gfan.lib

    r49eda62 r7b31394  
    434434}
    435435
     436proc faceContaining()
     437"USAGE:   faceContaining(c,w);  c cone, w intvec/bigintmat
     438ASSUME:  containsInSupport(c,w)==1
     439RETURN:  cone, the face of c containing w in its relative interior
     440EXAMPLE: example faceContaining; shows an example
     441"
     442{
     443
     444}
     445example
     446{
     447  "EXAMPLE:"; echo = 2;
     448  intmat M[2][2]=
     449    1,0,
     450    0,1;
     451  cone c=coneViaPoints(M);
     452  faceContaining(c,intvec(1,0));
     453  faceContaining(c,intvec(0,1));
     454  faceContaining(c,intvec(1,1));
     455  faceContaining(c,intvec(0,0));
     456}
     457
    436458proc facets()
    437459"USAGE:   facets(c);  c cone
Note: See TracChangeset for help on using the changeset viewer.