Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #15612 > unrolled thread

Re: vector[m,1] vector[n,1] matrix[m,n]

Started byOliver Ruebenkoenig <ruebenko@wolfram.com>
First post2011-01-29 10:24 +0000
Last post2011-01-29 10:24 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Re: vector[m,1] vector[n,1]  matrix[m,n] Oliver Ruebenkoenig <ruebenko@wolfram.com> - 2011-01-29 10:24 +0000

#15612 — Re: vector[m,1] vector[n,1] matrix[m,n]

FromOliver Ruebenkoenig <ruebenko@wolfram.com>
Date2011-01-29 10:24 +0000
SubjectRe: vector[m,1] vector[n,1] matrix[m,n]
Message-ID<ii0ptb$j2t$1@smc.vnet.net>
On Fri, 28 Jan 2011, EF wrote:

> Hi,
>
> is there a "simple kernel based" routine to do the scalar product of two
> one dimensional vectors, producing the m,n Matrix:
>
> v1[m,1].v2[n,1] -> mat[m,n]
>


Hi,

like this:

m = 3;
n = 2;
v1 = RandomReal[{0, 1}, {m, 1}];
v2 = RandomReal[{0, 1}, {1, n}];
Dimensions[v1.v2]

Oliver

>
>
> Thanks    E.F.
>
>

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web