///
/// This file is part of ILNumerics Community Edition.
///
/// ILNumerics Community Edition - high performance computing for applications.
/// Copyright (C) 2006 - 2012 Haymo Kutschbach, http://ilnumerics.net
///
/// ILNumerics Community Edition is free software: you can redistribute it and/or modify
/// it under the terms of the GNU General Public License version 3 as published by
/// the Free Software Foundation.
///
/// ILNumerics Community Edition is distributed in the hope that it will be useful,
/// but WITHOUT ANY WARRANTY; without even the implied warranty of
/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
/// GNU General Public License for more details.
///
/// You should have received a copy of the GNU General Public License
/// along with ILNumerics Community Edition. See the file License.txt in the root
/// of your distribution package. If not, see .
///
/// In addition this software uses the following components and/or licenses:
///
/// =================================================================================
/// The Open Toolkit Library License
///
/// Copyright (c) 2006 - 2009 the Open Toolkit library.
///
/// Permission is hereby granted, free of charge, to any person obtaining a copy
/// of this software and associated documentation files (the "Software"), to deal
/// in the Software without restriction, including without limitation the rights to
/// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
/// the Software, and to permit persons to whom the Software is furnished to do
/// so, subject to the following conditions:
///
/// The above copyright notice and this permission notice shall be included in all
/// copies or substantial portions of the Software.
///
/// =================================================================================
///
namespace ILNumerics {
///
/// All toolboxes currently available in ILNumerics
///
public enum Toolboxes {
///
/// Machine Learning Toolbox
///
MachineLearning,
///
/// Statistics Toolbox
///
Statistics
}
///
/// Modes for implicit conversions from logical arrays to System.Boolean
///
///
///
public enum LogicalConversionMode {
///
/// Throw an exception on the attempt to convert a non scaler value to logical/boolean.
///
NonScalarThrowsException,
///
/// Convert non scalar values to logical/boolean by applying the allall() function (i.e. it is true when all elements are non zero).
///
ImplicitAllAll
}
///
/// Enumerate all numeric type names used by ILNumerics
///
public enum NumericType {
///
/// double element type.
///
Double,
///
/// float element type.
///
Single,
///
/// complex element type.
///
Complex ,
///
/// fcomplex element type.
///
FComplex,
///
/// byte element type.
///
Byte,
///
/// Int32 element type.
///
Int32,
///
/// Int64 element type.
///
Int64,
}
///
/// Defines the way ILArrays are serialized to stream.
///
///
public enum ILArrayStreamSerializationFlags {
///
/// Print values 'vectorized': one value after each other. The true dimension configuration
/// of the array will be lost in the result.
///
Serial,
///
/// Print values 'matrixwise'. The real dimensions configuration for the array are kept
/// in the result. The array will be printed by pages, consisting out of the 1st and 2nd
/// leading dimnsion. A dimension tag will prefix each page. The format can be used as
/// fancier output version for human reading as well as human readable serialization
/// format. ILArray's are capable of constructing from streams containing this type of
/// output.
///
Formatted,
///
/// Export whole array instance to matlab 5.0 format
///
Matlab
}
///
/// Possible properties for matrices
///
/// These properties may be returned by function overloads receiving a MatrixProperties
/// parameter by reference.
///
public enum MatrixProperties : int {
///
/// Hermitian matrix
///
Hermitian = 1,
///
/// Positive definite
///
PositivDefinite = 2 ,
///
/// Upper triangular matrix
///
UpperTriangular = 4,
///
/// Lower triangular matrix
///
LowerTriangular = 8,
///
/// Square matrix
///
Square = 16,
///
/// Diagonal matrix
///
Diagonal = 32,
///
/// The matrix is singular
///
Singular = 64,
///
/// Hessenberg matrix
///
Hessenberg = 128,
///
/// Householder matrix
///
Householder = 256,
///
/// Unitary matrix
///
Unitary = 512,
///
/// Orthogonal matrix
///
Orthogonal = 1024,
///
/// Orthonormal matrix
///
Orthonormal = 2048,
///
/// The matrix has deficient rank
///
RankDeficient = 4096,
///
/// The matrix has no special properties
///
None = 8192,
///
/// No specific properties known (default)
///
Unknown = 0
}
}