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


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

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

Started byMurray Eisenberg <murray@math.umass.edu>
First post2011-01-29 10:43 +0000
Last post2011-01-29 10:43 +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] Murray Eisenberg <murray@math.umass.edu> - 2011-01-29 10:43 +0000

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

FromMurray Eisenberg <murray@math.umass.edu>
Date2011-01-29 10:43 +0000
SubjectRe: vector[m,1] vector[n,1] matrix[m,n]
Message-ID<ii0r16$jht$1@smc.vnet.net>
Your dimensions are not compatible to obtain an m-by-n result; your v2 
should have dimensions {1,n}.

The kernel function Dot then will calculate the matrix product.  Example:

     v1 = { {2}, {4}, {6} };
     v2 = { {1, 3 };
     v1 . v2


On 1/28/2011 6:11 AM, 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]
>
>
>
> Thanks    E.F.
>

-- 
Murray Eisenberg                     murray@math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305

[toc] | [standalone]


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


csiph-web