1 | ///
|
---|
2 | /// This file is part of ILNumerics Community Edition.
|
---|
3 | ///
|
---|
4 | /// ILNumerics Community Edition - high performance computing for applications.
|
---|
5 | /// Copyright (C) 2006 - 2012 Haymo Kutschbach, http://ilnumerics.net
|
---|
6 | ///
|
---|
7 | /// ILNumerics Community Edition is free software: you can redistribute it and/or modify
|
---|
8 | /// it under the terms of the GNU General Public License version 3 as published by
|
---|
9 | /// the Free Software Foundation.
|
---|
10 | ///
|
---|
11 | /// ILNumerics Community Edition is distributed in the hope that it will be useful,
|
---|
12 | /// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
13 | /// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
14 | /// GNU General Public License for more details.
|
---|
15 | ///
|
---|
16 | /// You should have received a copy of the GNU General Public License
|
---|
17 | /// along with ILNumerics Community Edition. See the file License.txt in the root
|
---|
18 | /// of your distribution package. If not, see <http://www.gnu.org/licenses/>.
|
---|
19 | ///
|
---|
20 | /// In addition this software uses the following components and/or licenses:
|
---|
21 | ///
|
---|
22 | /// =================================================================================
|
---|
23 | /// The Open Toolkit Library License
|
---|
24 | ///
|
---|
25 | /// Copyright (c) 2006 - 2009 the Open Toolkit library.
|
---|
26 | ///
|
---|
27 | /// Permission is hereby granted, free of charge, to any person obtaining a copy
|
---|
28 | /// of this software and associated documentation files (the "Software"), to deal
|
---|
29 | /// in the Software without restriction, including without limitation the rights to
|
---|
30 | /// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
---|
31 | /// the Software, and to permit persons to whom the Software is furnished to do
|
---|
32 | /// so, subject to the following conditions:
|
---|
33 | ///
|
---|
34 | /// The above copyright notice and this permission notice shall be included in all
|
---|
35 | /// copies or substantial portions of the Software.
|
---|
36 | ///
|
---|
37 | /// =================================================================================
|
---|
38 | ///
|
---|
39 |
|
---|
40 | namespace ILNumerics {
|
---|
41 |
|
---|
42 | /// <summary>
|
---|
43 | /// All toolboxes currently available in ILNumerics
|
---|
44 | /// </summary>
|
---|
45 | public enum Toolboxes {
|
---|
46 | /// <summary>
|
---|
47 | /// Machine Learning Toolbox
|
---|
48 | /// </summary>
|
---|
49 | MachineLearning,
|
---|
50 | /// <summary>
|
---|
51 | /// Statistics Toolbox
|
---|
52 | /// </summary>
|
---|
53 | Statistics
|
---|
54 | }
|
---|
55 |
|
---|
56 | /// <summary>
|
---|
57 | /// Modes for implicit conversions from logical arrays to System.Boolean
|
---|
58 | /// </summary>
|
---|
59 | /// <remarks>
|
---|
60 | /// <seealso cref="ILNumerics.Settings.LogicalArrayToBoolConversion"/></remarks>
|
---|
61 | public enum LogicalConversionMode {
|
---|
62 | /// <summary>
|
---|
63 | /// Throw an exception on the attempt to convert a non scaler value to logical/boolean.
|
---|
64 | /// </summary>
|
---|
65 | NonScalarThrowsException,
|
---|
66 | /// <summary>
|
---|
67 | /// Convert non scalar values to logical/boolean by applying the allall() function (i.e. it is true when all elements are non zero).
|
---|
68 | /// </summary>
|
---|
69 | ImplicitAllAll
|
---|
70 | }
|
---|
71 | /// <summary>
|
---|
72 | /// Enumerate all numeric type names used by ILNumerics
|
---|
73 | /// </summary>
|
---|
74 | public enum NumericType {
|
---|
75 | /// <summary>
|
---|
76 | /// double element type.
|
---|
77 | /// </summary>
|
---|
78 | Double,
|
---|
79 | /// <summary>
|
---|
80 | /// float element type.
|
---|
81 | /// </summary>
|
---|
82 | Single,
|
---|
83 | /// <summary>
|
---|
84 | /// complex element type.
|
---|
85 | /// </summary>
|
---|
86 | Complex ,
|
---|
87 | /// <summary>
|
---|
88 | /// fcomplex element type.
|
---|
89 | /// </summary>
|
---|
90 | FComplex,
|
---|
91 | /// <summary>
|
---|
92 | /// byte element type.
|
---|
93 | /// </summary>
|
---|
94 | Byte,
|
---|
95 | /// <summary>
|
---|
96 | /// Int32 element type.
|
---|
97 | /// </summary>
|
---|
98 | Int32,
|
---|
99 | /// <summary>
|
---|
100 | /// Int64 element type.
|
---|
101 | /// </summary>
|
---|
102 | Int64,
|
---|
103 | }
|
---|
104 |
|
---|
105 | /// <summary>
|
---|
106 | /// Defines the way ILArrays are serialized to stream.
|
---|
107 | /// </summary>
|
---|
108 | /// <seealso cref="ILNumerics.ILDenseArray<T>.ToStream(System.IO.Stream,string,ILArrayStreamSerializationFlags)"/>
|
---|
109 | public enum ILArrayStreamSerializationFlags {
|
---|
110 | /// <summary>
|
---|
111 | /// Print values 'vectorized': one value after each other. The true dimension configuration
|
---|
112 | /// of the array will be lost in the result.
|
---|
113 | /// </summary>
|
---|
114 | Serial,
|
---|
115 | /// <summary>
|
---|
116 | /// Print values 'matrixwise'. The real dimensions configuration for the array are kept
|
---|
117 | /// in the result. The array will be printed by pages, consisting out of the 1st and 2nd
|
---|
118 | /// leading dimnsion. A dimension tag will prefix each page. The format can be used as
|
---|
119 | /// fancier output version for human reading as well as human readable serialization
|
---|
120 | /// format. ILArray's are capable of constructing from streams containing this type of
|
---|
121 | /// output.
|
---|
122 | /// </summary>
|
---|
123 | Formatted,
|
---|
124 | /// <summary>
|
---|
125 | /// Export whole array instance to matlab 5.0 format
|
---|
126 | /// </summary>
|
---|
127 | Matlab
|
---|
128 | }
|
---|
129 | /// <summary>
|
---|
130 | /// Possible properties for matrices
|
---|
131 | /// </summary>
|
---|
132 | /// <remarks><para>These properties may be returned by function overloads receiving a MatrixProperties
|
---|
133 | /// parameter by reference. </para>
|
---|
134 | /// <para><![CDATA[This enum is a bitflag'ed enum! You may query for any combination via the bitwise operators | and &. ]]></para></remarks>
|
---|
135 | public enum MatrixProperties : int {
|
---|
136 | /// <summary>
|
---|
137 | /// Hermitian matrix
|
---|
138 | /// </summary>
|
---|
139 | Hermitian = 1,
|
---|
140 | /// <summary>
|
---|
141 | /// Positive definite
|
---|
142 | /// </summary>
|
---|
143 | PositivDefinite = 2 ,
|
---|
144 | /// <summary>
|
---|
145 | /// Upper triangular matrix
|
---|
146 | /// </summary>
|
---|
147 | UpperTriangular = 4,
|
---|
148 | /// <summary>
|
---|
149 | /// Lower triangular matrix
|
---|
150 | /// </summary>
|
---|
151 | LowerTriangular = 8,
|
---|
152 | /// <summary>
|
---|
153 | /// Square matrix
|
---|
154 | /// </summary>
|
---|
155 | Square = 16,
|
---|
156 | /// <summary>
|
---|
157 | /// Diagonal matrix
|
---|
158 | /// </summary>
|
---|
159 | Diagonal = 32,
|
---|
160 | /// <summary>
|
---|
161 | /// The matrix is singular
|
---|
162 | /// </summary>
|
---|
163 | Singular = 64,
|
---|
164 | /// <summary>
|
---|
165 | /// Hessenberg matrix
|
---|
166 | /// </summary>
|
---|
167 | Hessenberg = 128,
|
---|
168 | /// <summary>
|
---|
169 | /// Householder matrix
|
---|
170 | /// </summary>
|
---|
171 | Householder = 256,
|
---|
172 | /// <summary>
|
---|
173 | /// Unitary matrix
|
---|
174 | /// </summary>
|
---|
175 | Unitary = 512,
|
---|
176 | /// <summary>
|
---|
177 | /// Orthogonal matrix
|
---|
178 | /// </summary>
|
---|
179 | Orthogonal = 1024,
|
---|
180 | /// <summary>
|
---|
181 | /// Orthonormal matrix
|
---|
182 | /// </summary>
|
---|
183 | Orthonormal = 2048,
|
---|
184 | /// <summary>
|
---|
185 | /// The matrix has deficient rank
|
---|
186 | /// </summary>
|
---|
187 | RankDeficient = 4096,
|
---|
188 | /// <summary>
|
---|
189 | /// The matrix has no special properties
|
---|
190 | /// </summary>
|
---|
191 | None = 8192,
|
---|
192 | /// <summary>
|
---|
193 | /// No specific properties known (default)
|
---|
194 | /// </summary>
|
---|
195 | Unknown = 0
|
---|
196 | }
|
---|
197 | }
|
---|
198 |
|
---|