Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #15612
| From | Oliver Ruebenkoenig <ruebenko@wolfram.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: vector[m,1] vector[n,1] matrix[m,n] |
| Date | 2011-01-29 10:24 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <ii0ptb$j2t$1@smc.vnet.net> (permalink) |
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 comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: vector[m,1] vector[n,1] matrix[m,n] Oliver Ruebenkoenig <ruebenko@wolfram.com> - 2011-01-29 10:24 +0000
csiph-web