Click or drag to resize

DFColumn Class

Abstract base class for data frame column types.
Inheritance Hierarchy
SystemObject
  CenterSpace.NMath.CoreDFColumn
    More

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
[SerializableAttribute]
public abstract class DFColumn : ICollection, 
	IEnumerable, IDFColumn, ICloneable

The DFColumn type exposes the following members.

Constructors
 NameDescription
Protected methodDFColumn Default constructor.
Protected methodDFColumn(String) Constructs a DFColumn instance with the given name.
Top
Properties
 NameDescription
Public propertyColumnType Gets the type of the objects held by this column.
Public propertyCount Gets the number of ojects in this column.
Public propertyIsNumeric Returns true if the objects in this column are integers or floating point numbers; otherwise, false.
Public propertyIsSynchronized Returns false. Access to this class is not synchronized.
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.
Public propertyMissingValue Gets and sets the value used to represent missing values in this column.
Public propertyName Gets the name of this column.
Public propertySyncRoot Gets an object that can be used to synchronize access to this ICollection.
Top
Methods
 NameDescription
Public methodAdd Adds an object to this column.
Public methodClean Returns a copy of this column without missing values.
Public methodClone Returns a deep copy of this column.
Public methodConvert Converts an object to the type held by this column.
Public methodCopyTo(Array) Copies the contents of this column into the given array, beginning at the first position within the array.
Public methodCopyTo(Array, Int32) Copies the contents of this column into the given array, beginning at the given position within the array.
Public methodGetEnumerator Returns an enumerator for this column.
Public methodGetFactor Creates a factor from this column.
Public methodGetFactor(Object) Creates a factor from this column.
Public methodInsert Inserts an object into this column and the given position.
Public methodIsMissing Returns true if the element at the given position is missing; otherwise, false.
Public methodStatic memberParse(DataColumn) Parses the DataColumn into a DFColumn.
Public methodStatic memberParse(ICollection) Parses a column from a collection.
Public methodStatic memberParse(ICollection, Boolean) Parses a column from a collection.
Public methodStatic memberParse(ICollection, String) Parses a column from a collection.
Public methodStatic memberParse(ICollection, String, Boolean) Parses a column from a collection.
Public methodPermute Permutes the objects in this column by the given permutation vector (ranks).
Public methodRemoveAt Removes the object from this column at the given position.
Protected methodStatic memberSetClone(DFColumn, DFColumn) Set the memebers of the clone.
Protected methodStatic memberSetClone(DFColumn, DFColumn, Subset) Set the memebers of the clone.
Public methodSubColumn(Slice) Gets the subcolumn specified by the given Slice.
Public methodSubColumn(Subset) Gets the subcolumn specified by the given Subset.
Public methodSwap Swaps the position of the given elements in the column.
Public methodToArray Exports the contents of this column to an array.
Public methodToDoubleArray Extracts the contents of a column to an array of doubles.
Public methodToDoubleVector Extracts the contents of a column to a DoubleVector.
Public methodToIntArray Extracts the contents of a column to an array of integers.
Public methodToString Returns a formatted string representation of this column.
(Overrides ObjectToString)
Public methodToString(Int32) Returns formatted representation.
Public methodToString(Int32, String) Returns formatted representation.
Public methodToStringArray Exports the contents of this column to an array of strings.
Public methodToStringArray(String) Exports the contents of this column to an array of strings.
Top
Fields
 NameDescription
Protected fieldlabel_ The label in the header of this column. Can be changed.
Protected fieldlist_ An array list of column elements.
Protected fieldmissingValue_ Value used to represent missing values in this column.
Protected fieldname_ The name of this column. Must be set in the constructor.
Top
See Also
Inheritance Hierarchy