Search Results for

    Show / Hide Table of Contents

    Class Matrix

    Operations for treating 2D-arrays as mathetmatical matrices

    Inheritance
    object
    Matrix
    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 Matrix

    Methods

    | Edit this page View Source

    AppendRow(double[,], double[])

    Appends another row onto an existing matrix. Returns null if this was not possible(ie. dimnesions dont agree).

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

    ComponentMult(double[,], double[], int)

    Multipliy either entire matrix or single row(optional third input) by a vector (returns a matrix)

    Declaration
    public static double[,] ComponentMult(double[,] matrix, double[] vector, int singleMatrixRowToMult = -1)
    Parameters
    Type Name Description
    double[,] matrix
    double[] vector
    int singleMatrixRowToMult
    Returns
    Type Description
    double[,]
    | Edit this page View Source

    Mult(double[,], double, int)

    Multipliy either entire matrix or single row(optional third input) by a scalar

    Declaration
    public static double[,] Mult(double[,] matrix, double scalar, int singleMatrixRowToMult = -1)
    Parameters
    Type Name Description
    double[,] matrix
    double scalar
    int singleMatrixRowToMult
    Returns
    Type Description
    double[,]
    | Edit this page View Source

    Mult(double[,], double[])

    Multipliy either entire matrix or single row(optional third input) by a vector (returns vector)

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

    ReplaceColumn(double[,], int, double[])

    Replace a single column of a matrix

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

    ReplaceRow(double[,], int, double[])

    Replace a single row of a matrix

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