Mercurial > octave
annotate .editorconfig @ 31623:59422a6fbd91 stable
mean.m: Accept large DIM inputs and calculate Matlab-compatible output (bug #63411)
* mean.m: Accept large DIM inputs by removing any dimensions larger than the
dimensions of the input array. Use vectorized operations, rather than for
loop, for this input validation. Pre-declare output array before for loop
for performance. Use ipermute() after calculations to return
correctly-dimensioned result (checked with Matlab). Change BIST tests results
to match correct behavior.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 02 Dec 2022 21:34:15 -0800 |
parents | 640ee0d531d0 |
children |
rev | line source |
---|---|
27334
640ee0d531d0
add EditorConfig for default file encoding and indentation
Mike Miller <mtmiller@octave.org>
parents:
diff
changeset
|
1 root = true |
640ee0d531d0
add EditorConfig for default file encoding and indentation
Mike Miller <mtmiller@octave.org>
parents:
diff
changeset
|
2 |
640ee0d531d0
add EditorConfig for default file encoding and indentation
Mike Miller <mtmiller@octave.org>
parents:
diff
changeset
|
3 [*] |
640ee0d531d0
add EditorConfig for default file encoding and indentation
Mike Miller <mtmiller@octave.org>
parents:
diff
changeset
|
4 charset = utf-8 |
640ee0d531d0
add EditorConfig for default file encoding and indentation
Mike Miller <mtmiller@octave.org>
parents:
diff
changeset
|
5 end_of_line = lf |
640ee0d531d0
add EditorConfig for default file encoding and indentation
Mike Miller <mtmiller@octave.org>
parents:
diff
changeset
|
6 indent_size = 2 |
640ee0d531d0
add EditorConfig for default file encoding and indentation
Mike Miller <mtmiller@octave.org>
parents:
diff
changeset
|
7 indent_style = space |
640ee0d531d0
add EditorConfig for default file encoding and indentation
Mike Miller <mtmiller@octave.org>
parents:
diff
changeset
|
8 insert_final_newline = true |
640ee0d531d0
add EditorConfig for default file encoding and indentation
Mike Miller <mtmiller@octave.org>
parents:
diff
changeset
|
9 |
640ee0d531d0
add EditorConfig for default file encoding and indentation
Mike Miller <mtmiller@octave.org>
parents:
diff
changeset
|
10 [*.{am,mk}] |
640ee0d531d0
add EditorConfig for default file encoding and indentation
Mike Miller <mtmiller@octave.org>
parents:
diff
changeset
|
11 indent_size = tab |
640ee0d531d0
add EditorConfig for default file encoding and indentation
Mike Miller <mtmiller@octave.org>
parents:
diff
changeset
|
12 indent_style = tab |