Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #15612 > unrolled thread
| Started by | Oliver Ruebenkoenig <ruebenko@wolfram.com> |
|---|---|
| First post | 2011-01-29 10:24 +0000 |
| Last post | 2011-01-29 10:24 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
Re: vector[m,1] vector[n,1] matrix[m,n] Oliver Ruebenkoenig <ruebenko@wolfram.com> - 2011-01-29 10:24 +0000
| From | Oliver Ruebenkoenig <ruebenko@wolfram.com> |
|---|---|
| Date | 2011-01-29 10:24 +0000 |
| Subject | Re: 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.
>
>
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web