Search Results for

    Show / Hide Table of Contents

    Class Array2DExtensionMethods

    Extension methods based on Array2D

    Inheritance
    object
    Array2DExtensionMethods
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: TimeSeriesAnalysis
    Assembly: TimeSeriesAnalysis.dll
    Syntax
    public static class Array2DExtensionMethods

    Methods

    | Edit this page View Source

    Convert2DtoJagged(double[,])

    Converts a 2d-array to a jagged array

    Declaration
    public static double[][] Convert2DtoJagged(this double[,] matrix)
    Parameters
    Type Name Description
    double[,] matrix
    Returns
    Type Description
    double[][]
    | Edit this page View Source

    GetColumn(double[,], int)

    returns the column of a 2d-array of doubles corresponding to columnIndex (starts at zero)

    Declaration
    public static double[] GetColumn(this double[,] matrix, int columnIndex)
    Parameters
    Type Name Description
    double[,] matrix
    int columnIndex
    Returns
    Type Description
    double[]
    | Edit this page View Source

    GetColumn(string[,], int)

    returns the column of a 2d-array of strings corresponding to columnIndex (starts at zero)

    Declaration
    public static string[] GetColumn(this string[,] matrix, int columnIndex)
    Parameters
    Type Name Description
    string[,] matrix
    int columnIndex
    Returns
    Type Description
    string[]
    | Edit this page View Source

    GetColumnParsedAsDateTime(string[,], int, string)

    Parses a column in a 2d-array and returns the results as a vector of date-times.

    Declaration
    public static DateTime[] GetColumnParsedAsDateTime(this string[,] matrix, int columnNumber, string dateFormat)
    Parameters
    Type Name Description
    string[,] matrix
    int columnNumber
    string dateFormat
    Returns
    Type Description
    DateTime[]
    | Edit this page View Source

    GetColumns(double[,], int[])

    Returns the columns corresponding to columnNumbers as a 2d-array

    Declaration
    public static double[,] GetColumns(this double[,] matrix, int[] columnNumbers)
    Parameters
    Type Name Description
    double[,] matrix
    int[] columnNumbers
    Returns
    Type Description
    double[,]
    | Edit this page View Source

    GetNColumns(double[,])

    Return the number of columns of a 2d-matrix

    Declaration
    public static int GetNColumns(this double[,] matrix)
    Parameters
    Type Name Description
    double[,] matrix
    Returns
    Type Description
    int
    | Edit this page View Source

    GetNColumns(double[][])

    Get number of columns

    Declaration
    public static int GetNColumns(this double[][] matrix)
    Parameters
    Type Name Description
    double[][] matrix
    Returns
    Type Description
    int
    | Edit this page View Source

    GetNRows(double[,])

    Return the number of rows of a 2d-matrix

    Declaration
    public static int GetNRows(this double[,] matrix)
    Parameters
    Type Name Description
    double[,] matrix
    Returns
    Type Description
    int
    | Edit this page View Source

    GetNRows(double[][])

    Get nubmer of rows

    Declaration
    public static int GetNRows(this double[][] matrix)
    Parameters
    Type Name Description
    double[][] matrix
    Returns
    Type Description
    int
    | Edit this page View Source

    GetRow(double[,], int)

    returns the row of a 2d-array of doubles corresponding to rowNumber (starts at zero)

    Declaration
    public static double[] GetRow(this double[,] matrix, int rowNumber)
    Parameters
    Type Name Description
    double[,] matrix
    int rowNumber
    Returns
    Type Description
    double[]
    | Edit this page View Source

    GetRow(string[,], int)

    returns the row of a 2d-array of strings corresponding to rowNumber (starts at zero)

    Declaration
    public static string[] GetRow(this string[,] matrix, int rowNumber)
    Parameters
    Type Name Description
    string[,] matrix
    int rowNumber
    Returns
    Type Description
    string[]
    | Edit this page View Source

    GetRowsAfterIndex(DateTime[], int)

    Returns rows starting with rowIndex and onwards

    Declaration
    public static DateTime[] GetRowsAfterIndex(this DateTime[] array, int rowIndex)
    Parameters
    Type Name Description
    DateTime[] array
    int rowIndex
    Returns
    Type Description
    DateTime[]
    | Edit this page View Source

    GetRowsAfterIndex(double[,], int)

    Returns rows starting with rowIndex and onwards

    Declaration
    public static double[,] GetRowsAfterIndex(this double[,] array, int rowIndex)
    Parameters
    Type Name Description
    double[,] array
    int rowIndex
    Returns
    Type Description
    double[,]
    | Edit this page View Source

    GetRowsAfterIndex(double[], int)

    Returns rows starting with rowIndex and onwards

    Declaration
    public static double[] GetRowsAfterIndex(this double[] array, int rowIndex)
    Parameters
    Type Name Description
    double[] array
    int rowIndex
    Returns
    Type Description
    double[]
    | Edit this page View Source

    Transpose(double[,])

    Transposes a 2d-matrix.

    Declaration
    public static double[,] Transpose(this double[,] matrix)
    Parameters
    Type Name Description
    double[,] matrix
    Returns
    Type Description
    double[,]
    | Edit this page View Source

    WriteColumn(double[,], int, double[])

    overwrites the column in matrix with the new column newColumnValues

    Declaration
    public static double[,] WriteColumn(this double[,] matrix, int colIdx, double[] newColumnValues)
    Parameters
    Type Name Description
    double[,] matrix
    int colIdx
    double[] newColumnValues
    Returns
    Type Description
    double[,]
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX