How to define a function that can handle a vector/matrix
Subject: How to define a function that can handle a vector/matrix
From: Fabian Schuh
Date: Sun, 4 Jun 2006 13:28:35 +0200
Hi all,
Can someone tell me how to define a function f(x) so that I can use a vecto
r
or matrix for x.
f(x) := matrix(
[x_1 + x_2] ,
[x_1 - x_2]
);
x : matrix(
[1],
[2]
);
f(x);
Is this possible?
Sincerely
-- Fabian