comparison PROJECTS @ 2497:6f7bb8b60579

[project @ 1996-11-12 05:58:39 by jwe]
author jwe
date Tue, 12 Nov 1996 05:58:41 +0000
parents 3d905d3820a4
children 3b8598be273e
comparison
equal deleted inserted replaced
2496:9823f8bfd1a5 2497:6f7bb8b60579
86 * Extend meaning of .* to include v .* M or M .* v (where v is a 86 * Extend meaning of .* to include v .* M or M .* v (where v is a
87 column vector with the same number of rows as M) to scale rows of 87 column vector with the same number of rows as M) to scale rows of
88 M by elements of v. Similarly, if w is a row vector with as many 88 M by elements of v. Similarly, if w is a row vector with as many
89 columns as M, then either w .* M or M .* w scales the columns of 89 columns as M, then either w .* M or M .* w scales the columns of
90 M. 90 M.
91
92 * Given two vectors x and y of length m and n, implement a function
93 outer (x, y, f) that returns an m-by-n matrix with entries
94 f (x(i), y(j)). If f is omitted, multiplication is the default.
91 95
92 -------- 96 --------
93 Graphics: 97 Graphics:
94 -------- 98 --------
95 99