MCPcopy Create free account
hub / github.com/Singular/Singular / atSet

Function atSet

Singular/attrib.cc:153–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153void atSet(idhdl root, char * name,void * data,int typ)
154{
155 if (root!=NULL)
156 {
157 if ((IDTYP(root)!=RING_CMD)
158 && (!RingDependend(IDTYP(root)))&&(RingDependend(typ)))
159 WerrorS("cannot set ring-dependend objects at this type");
160 else
161 root->attribute=root->attribute->set(name,data,typ);
162 }
163}
164
165void atSet(leftv root, char * name,void * data,int typ)
166{

Callers 15

atATTRIB3Function · 0.85
jjKBASE2Function · 0.85
jjMODULOFunction · 0.85
jjPRUNE_MAPFunction · 0.85
jjRESFunction · 0.85
jjSTD_HILBFunction · 0.85
jjSTD_1Function · 0.85
jjSYZ_2Function · 0.85
jjHOMOG1Function · 0.85
jjMINRES_RFunction · 0.85
jjPRUNEFunction · 0.85
jjRINGLISTFunction · 0.85

Calls 5

WerrorSFunction · 0.85
AttributeMethod · 0.80
RingDependendFunction · 0.70
setMethod · 0.45
TypMethod · 0.45

Tested by

no test coverage detected