Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id CB38D200C15 for ; Wed, 8 Feb 2017 13:38:43 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id C9DED160B67; Wed, 8 Feb 2017 12:38:43 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id ED1A9160B4E for ; Wed, 8 Feb 2017 13:38:42 +0100 (CET) Received: (qmail 16513 invoked by uid 500); 8 Feb 2017 12:38:42 -0000 Mailing-List: contact user-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@flink.apache.org Delivered-To: mailing list user@flink.apache.org Received: (qmail 16503 invoked by uid 99); 8 Feb 2017 12:38:42 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Feb 2017 12:38:42 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 856931A0439 for ; Wed, 8 Feb 2017 12:38:41 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.712 X-Spam-Level: *** X-Spam-Status: No, score=3.712 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, HTML_OBFUSCATE_05_10=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=googlemail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id TqZPHugIozNr for ; Wed, 8 Feb 2017 12:38:40 +0000 (UTC) Received: from mail-io0-f182.google.com (mail-io0-f182.google.com [209.85.223.182]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id EA4E65F298 for ; Wed, 8 Feb 2017 12:38:38 +0000 (UTC) Received: by mail-io0-f182.google.com with SMTP id v96so114682166ioi.0 for ; Wed, 08 Feb 2017 04:38:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=VSh90WFsDHAmi2Ww4Ezp9OgsnalOWWiBUK2DCwXJrgU=; b=hK/IJo67FjZ6awRloAvJBRw5Ctc/yIjDWnoUWyy2u7/urhQcm56gHq3NHuz0NWfC/z MYAHjT4qjPegSjyqKOMyPbJ7ssRAJPx50cX52bJBGu4MOMJSxmtGkN0LiruF1MbqFcPP n65X3/yRFDH6XRdc77HOs4nbDb7UWSY4AH0LCRdcOzio0fST/wx6qEJ3DgjF2Pb+1noC xnFgMeI6oIbtBk8vNmRRREWEAM8QPWjt6TI/7P7+NkkmixBCzbdG9xwEHCAtFg6I/OH4 7TUxWYCrPrtx3eqbq+dYjjgLaKM1PX9pAMt/5iV2zvAhctB+Y4nl2SwTgUttmlLtGb5u BlKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=VSh90WFsDHAmi2Ww4Ezp9OgsnalOWWiBUK2DCwXJrgU=; b=EcrzCbV68Hn9z2q2hmgjUOH8di0PNrKmepIx0uQUjIOTO9G89OSbJZpKTSWbp+SkNM fiCRy9ZN5Mj5eX18RgU6P+C6ntp6orbGYpHfGuBz9ylPsFX6iTDdh4dtd2sGOPCLgVPw ztHU9xjSuA/fjuDEtplfRCMar+CN/n+2k0jmrd0nmJ3c9Y+GHUhBe1xSYJ3tS9VHiqqi M1eBAokX4VA9GUBz1S8voOz+R9HHl/QwmKWa11aTZA3+PWzDTRvIb+OlwxSnvkfIGSvC lPAbGeBZmPNkua1oQeM1W/t6BHvZAlGrTa2oT0cdOC4k6VlI7hSdt7pvTtBytoG2h16s +nFw== X-Gm-Message-State: AMke39n9uKVDr4G2wSCEJXFBv++8cxxCc4eCXSfGx3x4QvuUJ4Qd9OGB0xFD2j5xNAluliJRiTMjM1VWm74Lfg== X-Received: by 10.107.150.10 with SMTP id y10mr8287728iod.221.1486557518260; Wed, 08 Feb 2017 04:38:38 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.6.198 with HTTP; Wed, 8 Feb 2017 04:38:37 -0800 (PST) In-Reply-To: <1486488650104-11499.post@n4.nabble.com> References: <1486488650104-11499.post@n4.nabble.com> From: Felix Neutatz Date: Wed, 8 Feb 2017 13:38:37 +0100 Message-ID: Subject: Re: SparseMatrix Multilpication To: user@flink.apache.org Content-Type: multipart/alternative; boundary=001a1140be26d093e7054804244c archived-at: Wed, 08 Feb 2017 12:38:44 -0000 --001a1140be26d093e7054804244c Content-Type: text/plain; charset=UTF-8 Hi Ekram, if you are refering to https://github.com/apache/flink/blob/d7b59d761601baba6765bb4fc407bcd9fd6a9387/flink-libraries/flink-ml/src/main/scala/org/apache/flink/ml/math/SparseMatrix.scala You could first convert it to a Breeze Matrix: https://github.com/apache/flink/blob/1753b1d25b4d943c1ffbe7c3fb40e56b840c4f7d/flink-libraries/flink-ml/src/main/scala/org/apache/flink/ml/math/Breeze.scala#L31 and then multiply. If you are talking about a distributed matrix vectorization, you need to implement it on your own. Same applies to your question about Dense Matrices. Best regards, Felix On Feb 7, 2017 18:34, "Ekram Ali" wrote: I could not find SparseMatrix Multilpication or addition function in flink ,please suggest how will perform multiplication and addition. ex -[1 ,2 ,4],[2,5,7] and i want to multiply by 5 in whole matrix so that every element multiply by 5. same in case of addition please suggest. -- View this message in context: http://apache-flink-user-maili ng-list-archive.2336050.n4.nabble.com/SparseMatrix-Multil pication-tp11499.html Sent from the Apache Flink User Mailing List archive. mailing list archive at Nabble.com. --001a1140be26d093e7054804244c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Ekram,

and then multiply. If you are talking about a distribu= ted matrix vectorization, you need to implement it on your own.
S= ame applies to your question about Dense Matrices.

Best regards,
--001a1140be26d093e7054804244c--