You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@datafu.apache.org by "Matthew Hayes (JIRA)" <ji...@apache.org> on 2016/10/19 01:58:58 UTC

[jira] [Closed] (DATAFU-45) RFE: CartesianProduct

     [ https://issues.apache.org/jira/browse/DATAFU-45?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthew Hayes closed DATAFU-45.
-------------------------------
    Resolution: Won't Fix

I'm going to go ahead and close this then.

> RFE: CartesianProduct
> ---------------------
>
>                 Key: DATAFU-45
>                 URL: https://issues.apache.org/jira/browse/DATAFU-45
>             Project: DataFu
>          Issue Type: New Feature
>            Reporter: Sam Steingold
>
> Given two bags, produce their [Cartesian product|http://en.wikipedia.org/wiki/Cartesian_product]:
> {code}
> B1: bag{T1}
> B2: bag{T2}
> CartesianProduct(B1,B2): bag{(T1,T2)}
> {code}
> Use case:
> {code}
> toks = TOKENIZE((charray)$0,',');
> kwds = CartesianProduct(toks, {1.0/(double)SIZE(toks)});
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)