Click or drag to resize

DFBoolColumn Class

Class DFBoolColumn represents a column of logical data in a data frame.
Inheritance Hierarchy

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 7.4
Syntax
[SerializableAttribute]
public class DFBoolColumn : DFColumn

The DFBoolColumn type exposes the following members.

Constructors
  NameDescription
Protected methodDFBoolColumn
Default constructor.
Public methodDFBoolColumn(String)
Constructs a DFBoolColumn instance with the given name.
Public methodDFBoolColumn(String, IDFColumn)
Constructs a DFBoolColumn instance with the given name. Column elements are initialized with data from the given column, after conversion to bool.
Public methodDFBoolColumn(String, Boolean)
Constructs a DFBoolColumn instance with the given name. Column elements are initialized with data from the given array.
Top
Properties
  NameDescription
Public propertyColumnType
Gets the type of the objects held by this column.
(Overrides DFColumnColumnType.)
Public propertyCount
Gets the number of ojects in this column.
(Inherited from DFColumn.)
Public propertyIsNumeric
Returns true if the objects in this column are integers or floating point numbers; otherwise, false.
(Inherited from DFColumn.)
Public propertyIsSynchronized
Returns false. Access to this class is not synchronized.
(Inherited from DFColumn.)
Public propertyItem
Gets the object in this column at the given position.
Public propertyLabel
Gets and sets the label in the header of this column.
(Inherited from DFColumn.)
Public propertyMissingValue
Gets and sets the value used to represent missing values in this column.
(Inherited from DFColumn.)
Public propertyName
Gets the name of this column.
(Inherited from DFColumn.)
Public propertySyncRoot
Gets an object that can be used to synchronize access to this ICollection.
(Inherited from DFColumn.)
Top
Methods
  NameDescription
Public methodAdd
Adds an object to this column.
(Inherited from DFColumn.)
Public methodApply(String, FuncBoolean, Boolean)
Returns a new column with the given name and same size as this column, whose values are the result of applying the given unary function to each element of this column.
Public methodApply(String, FuncBoolean, Boolean, Boolean, DFBoolColumn)
Returns a new column with the given name and same size as this column, whose values are the result of applying the given binary function to each element of this column. The first parameter to the binary function is an element of self; the second parameter is the corresponding element of the passed column.
Public methodApply(String, FuncBoolean, Boolean, Boolean, Boolean)
Returns a new column with the given name and same size as this column, whose values are the result of applying the given binary function to each element of this column. The first parameter to the binary function is an element of self; the second parameter is the passed boolean.
Public methodClean
Returns a copy of this column without missing values.
Public methodClone
Returns a deep copy of this column.
(Overrides DFColumnClone.)
Public methodConvert
Converts an object to the type held by this column.
(Overrides DFColumnConvert(Object).)
Public methodCopyTo(Array)
Copies the contents of this column into the given array, beginning at the first position within the array.
(Inherited from DFColumn.)
Public methodCopyTo(Array, Int32)
Copies the contents of this column into the given array, beginning at the given position within the array.
(Inherited from DFColumn.)
Public methodGetEnumerator
Returns an enumerator for this column.
(Inherited from DFColumn.)
Public methodGetFactor
Creates a factor from this column.
(Inherited from DFColumn.)
Public methodGetFactor(Object)
Creates a factor from this column.
(Inherited from DFColumn.)
Public methodInsert
Inserts an object into this column and the given position.
(Inherited from DFColumn.)
Public methodIsMissing
Returns false. Missing values are not supported in DFBoolColumns, which have only two valid values.
(Overrides DFColumnIsMissing(Int32).)
Public methodPermute
Permutes the objects in this column by the given permutation vector (ranks).
(Inherited from DFColumn.)
Public methodRemoveAt
Removes the object from this column at the given position.
(Inherited from DFColumn.)
Public methodSubColumn(Slice)
Gets the subcolumn specified by the given Slice.
(Inherited from DFColumn.)
Public methodSubColumn(Subset)
Gets the subcolumn specified by the given Subset.
(Overrides DFColumnSubColumn(Subset).)
Public methodSwap
Swaps the position of the given elements in the column.
(Inherited from DFColumn.)
Public methodToArray
Exports the contents of this column to an array.
(Inherited from DFColumn.)
Public methodToDoubleArray
Extracts the contents of a column to an array of doubles.
(Inherited from DFColumn.)
Public methodToDoubleVector
Extracts the contents of a column to a DoubleVector.
(Inherited from DFColumn.)
Public methodToIntArray
Extracts the contents of a column to an array of integers.
(Inherited from DFColumn.)
Public methodToString
Returns a formatted string representation of this column.
(Inherited from DFColumn.)
Public methodToString(Int32)
Returns formatted representation.
(Inherited from DFColumn.)
Public methodToString(Int32, String)
Returns formatted representation.
(Inherited from DFColumn.)
Public methodToStringArray
Exports the contents of this column to an array of strings.
(Inherited from DFColumn.)
Public methodToStringArray(String)
Exports the contents of this column to an array of strings.
(Inherited from DFColumn.)
Public methodTransform(FuncBoolean)
Modifies the elements of this column by applying the given no-argument function to each element.
Public methodTransform(FuncBoolean, Boolean)
Modifies the elements of this column by applying the given unary function to each element.
Public methodTransform(FuncBoolean, Boolean, Boolean, DFBoolColumn)
Modifies the contents of this column by applying the given binary function to each element. The first parameter to the binary function is an element of self; the second parameter is the corresponding element of the passed column.
Public methodTransform(FuncBoolean, Boolean, Boolean, Boolean)
Modifies the contents of this column by applying the given binary function to each element. The first parameter to the binary function is an element of self; the second parameter is the passed boolean.
Top
Fields
  NameDescription
Protected fieldlabel_
The label in the header of this column. Can be changed.
(Inherited from DFColumn.)
Protected fieldlist_
An array list of column elements.
(Inherited from DFColumn.)
Protected fieldmissingValue_
Value used to represent missing values in this column.
(Inherited from DFColumn.)
Protected fieldname_
The name of this column. Must be set in the constructor.
(Inherited from DFColumn.)
Top
Remarks
Elements are stored as System.Boolean.
See Also