From dev-return-1627-apmail-systemml-dev-archive=systemml.apache.org@systemml.incubator.apache.org Fri Apr 21 11:00:36 2017 Return-Path: X-Original-To: apmail-systemml-dev-archive@minotaur.apache.org Delivered-To: apmail-systemml-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 46AB019F43 for ; Fri, 21 Apr 2017 11:00:36 +0000 (UTC) Received: (qmail 57173 invoked by uid 500); 21 Apr 2017 11:00:36 -0000 Delivered-To: apmail-systemml-dev-archive@systemml.apache.org Received: (qmail 57126 invoked by uid 500); 21 Apr 2017 11:00:36 -0000 Mailing-List: contact dev-help@systemml.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@systemml.incubator.apache.org Delivered-To: mailing list dev@systemml.incubator.apache.org Received: (qmail 57104 invoked by uid 99); 21 Apr 2017 11:00:35 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Apr 2017 11:00:35 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 61BE3C07A2 for ; Fri, 21 Apr 2017 11:00:35 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.335 X-Spam-Level: *** X-Spam-Status: No, score=3.335 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FORGED_HOTMAIL_RCVD2=1.187, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=hotmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id r85FojrRdgw4 for ; Fri, 21 Apr 2017 11:00:31 +0000 (UTC) Received: from APC01-PU1-obe.outbound.protection.outlook.com (mail-oln040092254088.outbound.protection.outlook.com [40.92.254.88]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 6CA9B5FC72 for ; Fri, 21 Apr 2017 11:00:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=0QDowmCkf1O2mO/fiYMPxE2ic0JWAJ0FMwwPY/1+9pI=; b=npd2sPD7tuppr47+W1drNdwhDiIakHuMMra8XdhCgAWLVf8+7cl4YOuR+SydBVaJRfG7M+Fzw/E9iQPGs9VQDCT5jfBzqYdTHe/dmd+5qvF5AwdLG16ttw+t94Anp8vXX1rQOCyTLrKEnTrraCpQQNXUWBv41ln3ToSWzLBXsGp/yb7jfR3pO6UZNfGM4E3JSrLiCYib7CvP52DmN8lHD4KfXeoeAhSv6he3PwtBjNpPA/eYSBzrmpWx6lHkNLG693zRjuQYFBkLBN88LB/OmVlcCC+fJe0cXd8fSJc09ArjBDdzUzZqk42xofn94xU7AmLFZBHeK3u0KSUB4/PJGA== Received: from PU1APC01FT062.eop-APC01.prod.protection.outlook.com (10.152.252.60) by PU1APC01HT145.eop-APC01.prod.protection.outlook.com (10.152.252.201) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1019.14; Fri, 21 Apr 2017 11:00:22 +0000 Received: from PN1PR01MB0717.INDPRD01.PROD.OUTLOOK.COM (10.152.252.51) by PU1APC01FT062.mail.protection.outlook.com (10.152.253.51) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1019.14 via Frontend Transport; Fri, 21 Apr 2017 11:00:21 +0000 Received: from PN1PR01MB0717.INDPRD01.PROD.OUTLOOK.COM ([10.174.145.142]) by PN1PR01MB0717.INDPRD01.PROD.OUTLOOK.COM ([10.174.145.142]) with mapi id 15.01.1034.015; Fri, 21 Apr 2017 11:00:20 +0000 From: arijit chakraborty To: "dev@systemml.incubator.apache.org" Subject: Table Thread-Topic: Table Thread-Index: AQHSuo38Mf6LkZ9Q7USr9kp1QcKCHg== Date: Fri, 21 Apr 2017 11:00:20 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: systemml.incubator.apache.org; dkim=none (message not signed) header.d=none;systemml.incubator.apache.org; dmarc=none action=none header.from=hotmail.com; x-incomingtopheadermarker: OriginalChecksum:3A708E65020AD06C5E9C819486C717730214984536DA96840ECCEEB9ACE04A16;UpperCasedChecksum:EF96B03D8096E58901D1938A88937F8117C972165E9A88E053E0ABC5ED916EBE;SizeAsReceived:7814;Count:40 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [k3+hXgcCpIu3wa+dvotolFI7Fh9Ki9AB] x-microsoft-exchange-diagnostics: 1;PU1APC01HT145;5:vFS22KpocS8dPjrdibMTzn4PfgFUAUvjlSNGyYwTdP6bNB1UZcLrv/iQLtlkwsUCj1JpxC69nG1nfeUWWW+vusJTETiR7wI4ysAPy7LUHd9BvBfvnnuicUncNOYauo+w9Zv3J57SCE/QiYOJmH1jMg==;24:466kxllByY6KOAO02UWnGQpJ+JCMB/9z1Fq4xr07Zqzt8uAp9KbdibdfPJ5xH6h41+RFb0M4rr1MpDPKelh4XjxSf0mOwZjAnRLHkJLVvRg=;7:w7YlEaff4RQfO5AvAkbgSGmb9BExHkYIjimzESxgsEszhNGS6tfb6fVGybKBcNVUjSZ8fM/t6KW0Vk+8xgO1dB45GuX+od/6l9Y9J/439lmbNvKTJn6hpolr79LTVhXpVaUA/9uKZc/Qao+9GAP/MGOLUIf1EFB9WdTkyU5zKRRs+8elrvkm7eQxNL4J+KutP+WwyXCN1F4V96DMLPn3c/cirSQ86Lk60SFs8alwK19wj1T50z//pWCjsWi0apkHwGRDs+XsBXc7Xa2zS2xLAHG6928NvGwVF7ApZwPpuRFFolCvTuxtENLzwuRnRPax x-incomingheadercount: 40 x-eopattributedmessage: 0 x-forefront-antispam-report: EFV:NLI;SFV:NSPM;SFS:(7070007)(98901004);DIR:OUT;SFP:1901;SCL:1;SRVR:PU1APC01HT145;H:PN1PR01MB0717.INDPRD01.PROD.OUTLOOK.COM;FPR:;SPF:None;LANG:en; x-ms-office365-filtering-correlation-id: cbb6c8c5-7d2c-4b5a-650f-08d488a59a0d x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322274)(1603101448)(1601125374)(1701031045);SRVR:PU1APC01HT145; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(444000031);SRVR:PU1APC01HT145;BCL:0;PCL:0;RULEID:;SRVR:PU1APC01HT145; x-forefront-prvs: 02843AA9E0 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: multipart/alternative; boundary="_000_PN1PR01MB0717D52CF7023D3CAE59C763A31A0PN1PR01MB0717INDP_" MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Apr 2017 11:00:20.0992 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: PU1APC01HT145 --_000_PN1PR01MB0717D52CF7023D3CAE59C763A31A0PN1PR01MB0717INDP_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I was trying to understand what the "table" function does. In the documents= , it says: "Returns the contingency table of two vectors A and B. The resulting table = F consists of max(A) rows and max(B) columns." Suppose I've 2 matrix A and B of this form: A =3D matrix(1, 1, 10) B =3D matrix(seq(10,1, -1), 10, 1) I should have a matrix of form C =3D matrix(1, 10, 1). But I'm getting C =3D matrix(1, 1, 10). Also, what is the difference between "Group form" and "Scalar form"? Thank you! Arijit --_000_PN1PR01MB0717D52CF7023D3CAE59C763A31A0PN1PR01MB0717INDP_--