help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

colon operator


From: Ernst Reissner
Subject: colon operator
Date: Mon, 10 Jul 2017 09:21:50 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]