octave 9.1 w 64 bit err between func(*) arg and index using()

DuyKy Nguyen <[email protected]> Wed, 18 Sep 2024 18:40:30 -0700
Newsgroups gmane.comp.gnu.octave.general
Message-ID <CAKUNgfCYGeMasstgDgNOdZ5oC3KYrqRwoBARu889bNjU2=ogPA@mail.gmail.com>
--===============5480774160926337278==
Content-Type: multipart/alternative; boundary="000000000000697b5106226f02c7"

--000000000000697b5106226f02c7
Content-Type: text/plain; charset="UTF-8"

 dear my Octave heros
I'm retiree after 35 yr as R&D Engwith dusability but still love geek
working
Due to my limit finance I still using my old w7 64
I really love Octave per its nice and great feature over MLab even I've
used MLab since 1993
Recently I run into problem with my Octave 9.1on my w7 -64b
I could not install 9.2
The error is it report my function fgg
##############################################################################
function [z gg]= fgg (xx )
x=xx(1);
y=xx(2);
    gg=ones(2,1);
    z =   (1 - x)^2 + 100*(-x^2 + y)^2;
Fx =   -400*x*(-x^2 + y) + 2*x - 2;
Fy =   -200*x^2 + 200*y;
gg(1)=Fx;
gg(2)=Fy;
endfunction
##############################################################################
with xx= [ 1 2]
[z gg]= fgg (xx )
it raise err in interpreting () in fgg not as arg but as index
Sincer regards
DuyKy Nguyen, PhD EE, retiree

--000000000000697b5106226f02c7
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">
dear my Octave heros<br>
I&#39;m retiree after 35 yr as R&amp;D Engwith dusability but still love ge=
ek working<br>
Due to my limit finance I still using my old w7 64 <br>
I really love Octave per its nice and great feature over MLab even I&#39;ve=
 used MLab since 1993<br>
Recently I run into problem with my Octave 9.1on my w7 -64b<br>
I could not install 9.2<br>
The error is it report my function fgg<br>
###########################################################################=
###<br>
function [z gg]=3D fgg (xx )<br>
x=3Dxx(1);<br>
y=3Dxx(2);<br>
=C2=A0=C2=A0=C2=A0 gg=3Dones(2,1);<br>
=C2=A0=C2=A0=C2=A0 z =3D=C2=A0=C2=A0 (1 - x)^2 + 100*(-x^2 + y)^2;<br>
Fx =3D=C2=A0=C2=A0 -400*x*(-x^2 + y) + 2*x - 2;<br>
Fy =3D=C2=A0=C2=A0 -200*x^2 + 200*y;<br>
gg(1)=3DFx;<br>
gg(2)=3DFy;<br>
endfunction<br>
###########################################################################=
###<br>
with xx=3D [ 1 2]<br>
[z gg]=3D fgg (xx )<br>
it raise err in interpreting () in fgg not as arg but as index<br>
Sincer regards<br>
DuyKy Nguyen, PhD EE, retiree

</div>

--000000000000697b5106226f02c7--


--===============5480774160926337278==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

Ci0tLS0tLS0tLS0KV2UgYXJlIHRyYW5zaXRpb25pbmcgdG8gYSB3ZWIgYmFzZWQgZm9ydW0KZm9y
IGNvbW11bml0eSBoZWxwIGRpc2N1c3Npb25zIGF0Cmh0dHBzOi8vb2N0YXZlLmRpc2NvdXJzZS5n
cm91cC9jL2hlbHAK

--===============5480774160926337278==--