Skip to content

Commit ff44d6f

Browse files
committed
Add indefinite property and two Zielke matrices.
1 parent e6845ad commit ff44d6f

File tree

17 files changed

+52
-50
lines changed

17 files changed

+52
-50
lines changed

contest/private/Contents.m

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,27 @@
22
% Version 1.2 20-May-2008
33
% Alan Taylor and Des Higham
44
%
5-
% baitsample - Bait and prey subsampling
6-
% curvature - Curvatures (clustering coefficients)
7-
% erdrey - Erdos-Renyi model graph
8-
% geo - Geometric random graph
9-
% gilbert - Gilbert model graph
10-
% kleinberg - Kleinberg model graph
11-
% lap - Laplacian matrix (normalized or unnormalized)
12-
% lockandkey - Lock and key model graph
13-
% mht - Mean hitting times
14-
% pagerank - PageRank matrix
15-
% pathlength - Minimum path lengths
16-
% pref - Scale free random graph
17-
% renga - Range dependent random graph
18-
% rewire - Redirect edges
19-
% short - Add shortcuts
20-
% smallw - Small world random graph
21-
% sticky - Stickiness model random graph
22-
% unisample - Uniform subsampling
5+
% baitsample - Bait and prey subsampling
6+
% curvature - Curvatures (clustering coefficients)
7+
% erdrey - Erdos-Renyi model graph
8+
% geo - Geometric random graph
9+
% gilbert - Gilbert model graph
10+
% kleinberg - Kleinberg model graph
11+
% lap - Laplacian matrix (normalized or unnormalized)
12+
% lockandkey - Lock and key model graph
13+
% mht - Mean hitting times
14+
% pagerank - PageRank matrix
15+
% pathlength - Minimum path lengths
16+
% pref - Scale free random graph
17+
% renga - Range dependent random graph
18+
% rewire - Redirect edges
19+
% short - Add shortcuts
20+
% smallw - Small world random graph
21+
% sticky - Stickiness model random graph
22+
% unisample - Uniform subsampling
2323
For documentation see
2424
- https://www.maths.ed.ac.uk/~dhigham/CONTEST_package.html
2525
- Alan Taylor and Desmond J. Higham. CONTEST: A Controllable Test Matrix
26-
Toolbox for MATLAB. ACM Trans. Math. Software, 35(4):26:1--26:17, 2009.
26+
Toolbox for MATLAB. ACM Trans. Math. Software, 35(4):26:1-26:17, 2009.
2727
https://doi.org/10.1145/1462173.1462175
28-
Included with permission.
28+
Included with permission.

core/private/Contents.m

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,6 @@
1313
% symmstoch - Symmetric stochastic matrix with given spectrum.
1414
% vand - Vandermonde matrix.
1515
% vecperm - Vec-permutation matrix.
16-
% wilson - Wilson matrix.
16+
% wilson - Wilson matrix.
17+
% zielke_symm - Symmetric matrix of Zielke.
18+
% zielke_nonsymm - Nonsymmetric matrix of Zielke.

core/private/augment.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
% Second edition, Society for Industrial and Applied Mathematics,
2727
% Philadelphia, PA, 2002; sec. 20.5.
2828

29-
properties = {'symmetric', 'square', 'random', 'parameter-dependent'};
29+
properties = {'symmetric', 'indefinite', 'square', 'random', ...
30+
'parameter-dependent'};
3031
if nargin == 0, C = []; return, end
3132

3233
[m, n] = size(A);

core/private/blockhouse.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
% Robert S. Schreiber and Beresford N. Parlett, Block Reflectors: Theory
1313
% and Computation, SIAM J. Numer. Anal. 25(1), 189-205, 1988.
1414

15-
properties = {'orthogonal', 'symmetric', 'involutory', 'eigenvalues', ...
16-
'parameter-dependent'};
15+
properties = {'orthogonal', 'symmetric', 'indefinite', 'involutory', ...
16+
'eigenvalues', 'parameter-dependent'};
1717
if nargin == 0, P = []; return, end
1818

1919
if size(Z) == 1

core/private/dembo9.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
% Reference:
99
% Eric Grosse and Cleve Moler, Underflow Can Hurt, SIAM News 20(6), 1, 1995.
1010

11-
properties = {'hankel', 'symmetric', 'fixed size', 'rank deficient', ...
12-
'integer'};
11+
properties = {'hankel', 'symmetric', 'indefinite', 'fixed size', ...
12+
'rank deficient', 'integer'};
1313

1414
A = [%
1515
-1 1 1 -1 -1 1 1 -1 -1

core/private/vand.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
function [V,properties] = vand(m, p)
1+
function [V,properties] = vand(m,p)
22
%VAND Vandermonde matrix.
33
% V = VAND(P), where P is a vector, produces the (primal)
44
% Vandermonde matrix based on the points P, i.e. V(i,j) = P(j)^(i-1).
@@ -13,7 +13,7 @@
1313

1414
properties = {'square', 'rectangular', 'parameter-dependent'};
1515
if nargin == 0, V = []; return, end
16-
16+
1717
if nargin == 1, p = m; end
1818
n = length(p);
1919

gallery/private/am_properties.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
'parameter-dependent'}
1919
'dramadah', {'toeplitz', 'integer', 'nonnegative',...
2020
'ill-conditioned', 'unimodular'}
21-
'fiedler', {'symmetric', 'parameter-dependent'}
21+
'fiedler', {'symmetric', 'indefinite', 'parameter-dependent'}
2222
'forsythe', {'eigenvalues', 'parameter-dependent'}
2323
'frank', {'hessenberg', 'integer', 'nonnegative'}
2424
'gcdmat', {'symmetric', 'positive definite', 'integer', 'positive',...
@@ -65,7 +65,7 @@
6565
'randsvd', {'orthogonal', 'rectangular', 'square', 'random'}
6666
'redheff', {'integer', 'nonnegative', 'eigenvalues'}
6767
'riemann', {'integer', 'eigenvalues'}
68-
'ris', {'hankel'}
68+
'ris', {'hankel', 'symmetric', 'indefinite'}
6969
'sampling', {'eigenvalues'}
7070
'smoke', {'complex', 'eigenvalues'}
7171
'toeppd', {'symmetric', 'positive definite', 'toeplitz',...

matlab/private/am_properties.m

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@
1111
'magic', {'integer','positive'}
1212
'pascal', {'integer', 'positive', 'involutory',...
1313
'totally nonnegative', 'triangular', 'ill-conditioned'}
14-
'rosser', {'fixed size', 'symmetric', 'integer', 'positive', ...
15-
'rank deficient'}
14+
'rosser', {'fixed size', 'symmetric', 'indefinite', 'integer', ...
15+
'positive', 'rank deficient'}
1616
'spiral', {'integer', 'positive'}
1717
'toeplitz', {'toeplitz', 'square', 'rectangular'}
1818
'vander', {}
19-
'wilkinson', {'symmetric', 'tridiagonal', 'integer', 'nonnegative'}
19+
'wilkinson', {'symmetric', 'indefinite' 'tridiagonal', 'integer', ...
20+
'nonnegative'}
2021
};

nessie/private/benguela.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
% a network describing interactions between species in the Benguela
55
% marine ecosystem off the southwest coast of South Africa.
66

7-
properties = {'symmetric', 'sparse', 'binary', 'fixed size'};
7+
properties = {'symmetric', 'indefinite', 'sparse', 'binary', 'fixed size'};
88
A = load('benguela.mat');
9-
A = A.Benguela_A;
9+
A = A.Benguela_A;

nessie/private/eer.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
% a network of connections betweem physically contiguous European
55
% economic regions.
66

7-
properties = {'symmetric', 'sparse', 'binary', 'fixed size'};
7+
properties = {'symmetric', 'indefinite', 'sparse', 'binary', 'fixed size'};
88
A = load('eer.mat');
9-
A = A.A;
9+
A = A.A;

nessie/private/guppy.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
% GUPPY is an 99-by-99 adjacency matrix that represents
44
% a network of social interactions in a population of guppys.
55

6-
properties = {'symmetric', 'sparse', 'fixed size'};
6+
properties = {'symmetric', 'indefinite', 'sparse', 'fixed size'};
77
A = load('guppy.mat');
8-
A = A.guppy;
8+
A = A.guppy;

nessie/private/metabolite.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
% METABOLITE is a 376-by-376 adjacency matrix that represents
44
% a metabolite network, whose nodes are chemical formulas.
55

6-
properties = {'symmetric', 'sparse', 'binary', 'fixed size'};
6+
properties = {'symmetric', 'indefinite', 'sparse', 'binary', 'fixed size'};
77
A = load('Tr.mat');
88
A = A.Tr;

nessie/private/ppi.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
% PPI is an 4388-by-4388 adjacency matrix that represents
44
% a protein-protein interaction network for yeast.
55

6-
properties = {'symmetric', 'sparse', 'binary', 'fixed size'};
6+
properties = {'symmetric', 'indefinite', 'sparse', 'binary', 'fixed size'};
77
A = load('ppi.mat');
8-
A = A.A;
8+
A = A.A;

nessie/private/usshelf.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
% between species in the marine ecosystem of the Northeast US continetnal
55
% shelf.
66

7-
properties = {'symmetric', 'sparse', 'binary', 'fixed size'};
7+
properties = {'symmetric', 'indefinite', 'sparse', 'binary', 'fixed size'};
88
A = load('usshelf.mat');
9-
A = A.Shelf_A;
9+
A = A.Shelf_A;

nessie/private/whiskydist.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
% WHISKYDIST is an 86-by-86 matrix of Euclidean distance between
44
% whisky distilleries.
55

6-
properties = {'symmetric', 'fixed size'};
6+
properties = {'symmetric', 'indefinite', 'fixed size'};
77
A = load('whisky.mat');
8-
A = A.whiskydist;
8+
A = A.whiskydist;

prop_list.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
'fixed size'
1515
'hankel'
1616
'hermitian'
17-
'hermitian indefinite'
1817
'hessenberg'
1918
'idempotent'
19+
'indefinite'
2020
'ill-conditioned'
2121
'infinitely divisible'
2222
'integer'

prop_map.m

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,10 @@
77

88
M = {
99
'banded', {'tridiagonal'}
10-
'hermitian', {'hermitian indefinite', 'hermitian positive definite'}
1110
'integer', {'binary'}
1211
'nonnegative', {'positive'}
1312
'orthogonal', {'permutation'}
14-
'symmetric', {'correlation', 'hankel', 'symmetric indefinite', ...
15-
'positive definite'}
13+
'symmetric', {'correlation', 'hankel'}
1614
'positive definite', {'correlation'}
1715
'totally positive', {'totally negative'}
1816
};

0 commit comments

Comments
 (0)