version 1.55, 2003/12/25 08:46:19 |
version 1.56, 2003/12/26 02:38:10 |
|
|
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* |
* |
* $OpenXM: OpenXM_contrib2/asir2000/builtin/gr.c,v 1.54 2003/10/08 09:09:04 noro Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/builtin/gr.c,v 1.55 2003/12/25 08:46:19 noro Exp $ |
*/ |
*/ |
#include "ca.h" |
#include "ca.h" |
#include "parse.h" |
#include "parse.h" |
Line 469 void dp_gr_mod_main(LIST f,LIST v,Num homo,int m,struc |
|
Line 469 void dp_gr_mod_main(LIST f,LIST v,Num homo,int m,struc |
|
reduceall_mod(x,m,&xx); x = xx; |
reduceall_mod(x,m,&xx); x = xx; |
if ( PCoeffs ) |
if ( PCoeffs ) |
for ( r0 = 0; x; x = NEXT(x) ) { |
for ( r0 = 0; x; x = NEXT(x) ) { |
NEXTNODE(r0,r); mdtop(CO,m,vv,ps[(int)BDY(x)],(P *)&BDY(r)); |
NEXTNODE(r0,r); |
|
if ( input_is_dp ) |
|
mdtodp(ps[(int)BDY(x)],(DP *)&BDY(r)); |
|
else |
|
mdtop(CO,m,vv,ps[(int)BDY(x)],(P *)&BDY(r)); |
} |
} |
else |
else |
for ( r0 = 0; x; x = NEXT(x) ) { |
for ( r0 = 0; x; x = NEXT(x) ) { |
NEXTNODE(r0,r); _dtop_mod(CO,vv,ps[(int)BDY(x)],(P *)&BDY(r)); |
NEXTNODE(r0,r); |
|
if ( input_is_dp ) |
|
_mdtodp(ps[(int)BDY(x)],(DP *)&BDY(r)); |
|
else |
|
_dtop_mod(CO,vv,ps[(int)BDY(x)],(P *)&BDY(r)); |
} |
} |
print_stat(); |
print_stat(); |
if ( r0 ) NEXT(r) = 0; |
if ( r0 ) NEXT(r) = 0; |
Line 559 void dp_f4_mod_main(LIST f,LIST v,int m,struct order_s |
|
Line 567 void dp_f4_mod_main(LIST f,LIST v,int m,struct order_s |
|
reduceall_mod(x,m,&xx); x = xx; |
reduceall_mod(x,m,&xx); x = xx; |
} |
} |
for ( r0 = 0; x; x = NEXT(x) ) { |
for ( r0 = 0; x; x = NEXT(x) ) { |
NEXTNODE(r0,r); _dtop_mod(CO,vv,ps[(int)BDY(x)],(P *)&BDY(r)); |
NEXTNODE(r0,r); |
|
if ( input_is_dp ) |
|
_mdtodp(ps[(int)BDY(x)],(DP *)&BDY(r)); |
|
else |
|
_dtop_mod(CO,vv,ps[(int)BDY(x)],(P *)&BDY(r)); |
} |
} |
if ( r0 ) NEXT(r) = 0; |
if ( r0 ) NEXT(r) = 0; |
MKLIST(*rp,r0); |
MKLIST(*rp,r0); |