2008-10-07
век живи, век учись
Ну вот какого, спрашивается,
Pair<X, X>
- не Iterable<X>
? И какого, спрашивается, Pair<X, Iterable<X>
- не Iterable<X>
? И если да, то как этого добиться?! Загадка, блин. Если собравшиеся не ответят, спрошу Самого.вечная драма...
Компьютерные учёные как правило считают меня идиотом (тут сообщили мне, что декартово произведение некоммутативно); и это чувство, как правило, взаимно.
Нет чтоб трепетать перед храмом науки.
Единственный раз мне удалось переубедить человека по какому-то математическому вопросу. Это был crazybob.
Нет чтоб трепетать перед храмом науки.
Единственный раз мне удалось переубедить человека по какому-то математическому вопросу. Это был crazybob.
Pair in Java: new findings :)
here - added iterability for eligible pairs (kind of counter California prop 8, allow gay marriages)
maybe computer scientists are right
I'm trying to define cartesian product so that:
product(x) == x
product(x, y) is the same whether we use "a product of two components" or "a product of a sequence of components"
that is, in some magic way, product(x1, x2, x3) == product(x1, product(x2, x3)) == product(x1, product(x2, product(x3))).
product(x) == x
product(x, y) is the same whether we use "a product of two components" or "a product of a sequence of components"
that is, in some magic way, product(x1, x2, x3) == product(x1, product(x2, x3)) == product(x1, product(x2, product(x3))).