
142 Appendix A6 OxGauss Language Reference
Table A6.3 Result from dot operators.
left a operator right b result computes
int op int int a op b
int/double op double double a op b
double op int/double double a op b
scalar op matrix m × n matrix m × naop b
ij
matrix m × n op scalar matrix m × na
ij
op b
matrix m × n op matrix m × n matrix m × na
ij
op b
ij
matrix m × n op matrix m × 1 matrix m × na
ij
op b
i0
matrix m × n op matrix 1 × n matrix m × na
ij
op b
0j
matrix m × 1 op matrix m × n matrix m × na
i0
op b
ij
matrix 1 × n op matrix m × n matrix m × na
0j
op b
ij
matrix m × 1 op matrix 1 × n matrix m × na
i0
op b
0j
matrix 1 × n op matrix m × 1 matrix m × na
0j
op b
i0
Table A6.4 Result from relational operators.
left a operator right b result computes
int op int int a op b
int/double op double int a op b
double op int/double int a op b
scalar op matrix m × n int a op b
ij
matrix m × n op scalar int a
ij
op b
matrix m × n op matrix m × n int a
ij
op b
ij
matrix m × n op matrix m × 1 int a
ij
op b
i0
matrix m × n op matrix 1 × n int a
ij
op b
0j
matrix m × 1 op matrix m × n int a
i0
op b
ij
matrix 1 × n op matrix m × n int a
0j
op b
ij
string op string int a op b
taken of functions, see §A6.6.3).
All types of constants discussed in §A6.3 form a primary expression. This includes
a matrix constant inside curly braces.
∗
A function call is a function name followed in parenthesis by a possibly empty,
comma-separated list of assignment expressions. All argument passing is by value, but
when an array is passed, its contents may be changed by the function (unless they are
const). The order of evaluation of the arguments is unspecified; all arguments are
evaluated before the function is entered. Recursive function calls are allowed. Also see
§A6.6.3.
Komentarze do niniejszej Instrukcji