-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello all,
the new piraha based parfile parsers allows to assign to a whole
vector of parameters, ie.
TestPar::int1 = [1,
int(1.2/3.2*10.2 - 1.4/3.4),
int(sin(TestPar::real2[2]) + 13),
int(10*cos(2**3)),
99]
is valid. Is there a way to assign to only a slices of the vector, eg.
something like:
estPar::int1[2:4] = [
int(sin(TestPar::real2[2]) + 13),
int(10*cos(2**3)),
99]
Advanced functionality would of course be to allow strides and
discontinuous slices but that might well in the range of extra syntax
suggar that is not really worth the effort. In my usage case I need to
assign the same value to many (>12 or so) elements of a parameter
vector (not that I am not asking if broadcasting of a single value to
a slice is supported, that would also be extra stuff).
Yours,
Roland
- --
My email is as private as my paper mail. I therefore support encrypting
and signing email messages. Get my PGP key from http://keys.gnupg.net.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAlFkjWgACgkQTiFSTN7SboV1/gCeOnk5XH/5+2TzpYof4GHHuREm
Nl4An1NFCkn3/F0zSS/4dPV7eJjCC41D
=bFty
-----END PGP SIGNATURE-----
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Users mailing list [email protected] http://cactuscode.org/mailman/listinfo/users
