Loic Grenie on Tue, 28 Nov 2006 12:36:06 +0100 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Universal empty objects ? |
I was just idling through the code and I noticed that there are - 92 lines containing cgetg(1, t_MAT), - 90 lines containing cgetg(1, t_VEC), - 11 lines containing cgetg(1, t_VECSMALL), - 30 lines containing cgetg(1, t_COL). Wouldn't it be a wonderful idea to create new universal objects gen_nilmat, gen_nilvec, gen_nilvecsmall and gen_nilcol (with maybe shorter names) which would be the corresponding nil objects ? Loic