Helloooooooo everybody !!! If you play with the designs.orthogonal_array(k,n) function, you will see that it returns three kinds of things :
1) A matrix (potentially big) 2) A boolean (telling you whether the matrix CAN be built) 3) An integer (telling you how large the matrix can be) Now, it would be COOL if this function could cache its boolean/integer answers (for we ask the same questions very often), but caching the matrices is a really (really) bad idea. The return type is determined by an argument of orthogonal_array, existence=True, and we only want to cache answers to that. 1) Is there a way to obtain this behaviour with @cached_function ? 2) If not, do you think that implementing this is a nice idea ? (I am worried of making the standard use case slower) THaaaaaaaaaaaanks for your help ! Nathann -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.