Click or drag to resize

DFGenericColumn Class

Class DFGenericColumn represents a column of generic data in a data frame.
Inheritance Hierarchy

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

The DFGenericColumn type exposes the following members.

Constructors
  NameDescription
Protected methodDFGenericColumn
Default constructor.
Public methodDFGenericColumn(String)
Constructs a DFGenericColumn instance with the given name and a missing value as specified in StatsSettings.GenericMissingValue.
Public methodDFGenericColumn(String, IDFColumn)
Constructs a DFBoolColumn instance with the given name. Column elements are initialized with data from the given column.
Public methodDFGenericColumn(String, ICollection)
Constructs a DFGenericColumn instance with the given name and a missing value as specified in StatsSettings.GenericMissingValue. Column elements are initialized with data from the given collection.
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.
(Inherited from DFColumn.)
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, FuncDouble, Boolean)
Returns a new numeric column with the given name and size containing the items in this column that evaluate to true using the given logical function.
Public methodApply(String, FuncDouble, Double)
Returns a new numeric column with the given name and same size as this column, whose values are the result of applying the given double unary function to each element of this column.
Public methodApply(String, FuncObject, Object)
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, FuncDouble, Double, Double, DFNumericColumn)
Returns a new numeric column with the given name and 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, FuncDouble, Double, Double, DoubleVector)
Returns a new numeric column with the given name and same size as this column, whose values are the result of applying the given double 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 vector.
Public methodApply(String, FuncDouble, Double, Double, Double)
Returns a new numeric column with the given name and same size as this column, whose values are the result of applying the given double binary function to each element of this column. The first parameter to the binary function is the column element; the second parameter is the passed double-precision value.
Public methodApply(String, FuncDouble, Int32, Double, Int32)
Returns a new numeric column with the given name and same size as this column, whose values are the result of applying the given double integer function to each element of this column. The first parameter to the binary function is the column element; the second parameter is the passed integer value.
Public methodApply(String, FuncObject, Object, Object, DFGenericColumn)
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, FuncObject, Object, Object, Object)
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 the column element; the second parameter is the passed object.
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.
(Inherited from DFColumn.)
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 true if the element at the given position is missing; otherwise, false.
(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(FuncObject)
Modifies the elements of this column by applying the given no-argument function to each element.
Public methodTransform(FuncObject, Object)
Modifies the elements of this column by applying the given unary function to each element.
Public methodTransform(FuncObject, Object, Object, DFGenericColumn)
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(FuncObject, Object, Object, Object)
Modifies the contents of this column by applying the given binary function to each element. The first parameter to the binary function is the column element; the second parameter is the passed object.
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.Object.
See Also