[Lapackpp-devel] Updating operator<< for matlab, maple, etc.
Status: Beta
Brought to you by:
cstim
|
From: Jacob \(Jack\) G. <jg...@cs...> - 2005-03-15 17:58:57
|
Hi,
I've been pretty busy with projects lately, so I haven't had a chance to
properly implement this into lapackpp; but now that I have an opportunity,
as I mentioned a few months back, I would like to change the operator<<
output to give a display that can easily be copied/pasted into matlab or
maple (or any other math software people may wish to use).
My question is this:
I would like to make some sort of a global variable called something like
DISP_FORMAT, that can be set to one of the following: {NORMAL, MATLAB,
MAPLE, .}
Where should I put this variable that it can be accessible to the matrix
classes and most programs?
Maybe it should be a member or class variable of the matrix classes instead,
calling something like myGMD.setDisplay(MATLAB), or
LaGenMatDouble::setDisplay(MATLAB). ?
Any thoughts before I begin coding anything?
Thanks
Jack
|