colon operator

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

colon operator

Ernst Reissner
Hi all,
I have a serious problem:
I wrote another arithmetics by oo means.
Works all fine defining functions plus, minus, times and so on which
define also the according operators +, - * and so on.

Now i have a problem: the function colon defines the colon operator
a:b:c and a:b.
For performance reasons, it is not feasable to just return a vector with
explicit entries.
How can I do without it?

Do I have to define an object overwriting several functions like length
and access operators????
How can I do that?
I cannot use the built-in colon-function, because the arithmetics is
much different to double.

Thank you for help,

Ernst

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Loading...