basic syntax

I have just installed my stand alone Gauss 17 license on a Linux 64 machine, Ubuntu 16.04 LTS. With respect to the previous versions it seems to me weird

1)  that some basic functions do not accept numbers as arguments, while they work with variables previously declared:

x = rndn(3,2)
error G0105 : Bad expression or missing arguments

Execute error for command: "x = rndn(3,2)"

x = zeros(3,3)
error G0105 : Bad expression or missing arguments

Execute error for command: "x = zeros(3,3)"

x = seqa(1,1,10)
error G0105 : Bad expression or missing arguments

Execute error for command: "x = seqa(1,1,10)"

2) that decimal numbers cannot be assigned to basic scalar variables:

x = .1
error G0008 : Syntax error '.1'
Compile error for command: "x = .1"

is there any explanation for this or it is the correct behavior?

1 Answer



0



This problem is most likely occurring because the locale setting is different then GAUSS expects. If you run the following command in your Linux terminal, or add it to your gauss/tgauss initialization script, the problem should be resolved.

export LC_NUMERIC=C

aptech

1,773

Your Answer

1 Answer

0

This problem is most likely occurring because the locale setting is different then GAUSS expects. If you run the following command in your Linux terminal, or add it to your gauss/tgauss initialization script, the problem should be resolved.

export LC_NUMERIC=C

You must login to post answers.

Have a Specific Question?

Get a real answer from a real person

Need Support?

Get help from our friendly experts.

Try GAUSS for 14 days for FREE

See what GAUSS can do for your data

© Aptech Systems, Inc. All rights reserved.

Privacy Policy