Search Results for

    Show / Hide Table of Contents

    Class DenseMatrix

    Row-major dense matrix

    Inheritance
    Object
    DenseMatrix
    Implements
    IMatrix
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: g3
    Assembly: cs.temp.dll.dll
    Syntax
    public class DenseMatrix : IMatrix

    Constructors

    DenseMatrix(DenseMatrix)

    Declaration
    public DenseMatrix(DenseMatrix copy)
    Parameters
    Type Name Description
    DenseMatrix copy

    DenseMatrix(Int32, Int32)

    Declaration
    public DenseMatrix(int Nrows, int Mcols)
    Parameters
    Type Name Description
    Int32 Nrows
    Int32 Mcols

    Properties

    Buffer

    Declaration
    public double[] Buffer { get; }
    Property Value
    Type Description
    Double[]

    Columns

    Declaration
    public int Columns { get; }
    Property Value
    Type Description
    Int32

    Item[Int32]

    Declaration
    public double this[int i] { get; set; }
    Parameters
    Type Name Description
    Int32 i
    Property Value
    Type Description
    Double

    Item[Int32, Int32]

    Declaration
    public double this[int r, int c] { get; set; }
    Parameters
    Type Name Description
    Int32 r
    Int32 c
    Property Value
    Type Description
    Double

    Length

    Declaration
    public int Length { get; }
    Property Value
    Type Description
    Int32

    Rows

    Declaration
    public int Rows { get; }
    Property Value
    Type Description
    Int32

    Size

    Declaration
    public Index2i Size { get; }
    Property Value
    Type Description
    Index2i

    Methods

    Add(DenseMatrix)

    Declaration
    public void Add(DenseMatrix M2)
    Parameters
    Type Name Description
    DenseMatrix M2

    Add(IMatrix)

    Declaration
    public void Add(IMatrix M2)
    Parameters
    Type Name Description
    IMatrix M2

    Column(Int32)

    Declaration
    public DenseVector Column(int c)
    Parameters
    Type Name Description
    Int32 c
    Returns
    Type Description
    DenseVector

    Diagonal()

    Declaration
    public DenseVector Diagonal()
    Returns
    Type Description
    DenseVector

    EpsilonEquals(DenseMatrix, Double)

    Declaration
    public bool EpsilonEquals(DenseMatrix m2, double epsilon = 1E-08)
    Parameters
    Type Name Description
    DenseMatrix m2
    Double epsilon
    Returns
    Type Description
    Boolean

    IsPositiveDefinite()

    Declaration
    public bool IsPositiveDefinite()
    Returns
    Type Description
    Boolean

    IsSymmetric(Double)

    Declaration
    public bool IsSymmetric(double dTolerance = 2.2204460492503131E-16)
    Parameters
    Type Name Description
    Double dTolerance
    Returns
    Type Description
    Boolean

    MulAdd(DenseMatrix, Double)

    Declaration
    public void MulAdd(DenseMatrix M2, double s)
    Parameters
    Type Name Description
    DenseMatrix M2
    Double s

    MulAdd(IMatrix, Double)

    Declaration
    public void MulAdd(IMatrix M2, double s)
    Parameters
    Type Name Description
    IMatrix M2
    Double s

    Multiply(DenseMatrix, ref DenseMatrix, Boolean)

    Declaration
    public void Multiply(DenseMatrix M2, ref DenseMatrix R, bool bParallel = true)
    Parameters
    Type Name Description
    DenseMatrix M2
    DenseMatrix R
    Boolean bParallel

    Multiply(DenseMatrix, Boolean)

    Declaration
    public DenseMatrix Multiply(DenseMatrix M2, bool bParallel = true)
    Parameters
    Type Name Description
    DenseMatrix M2
    Boolean bParallel
    Returns
    Type Description
    DenseMatrix

    Multiply(DenseVector)

    Declaration
    public DenseVector Multiply(DenseVector X)
    Parameters
    Type Name Description
    DenseVector X
    Returns
    Type Description
    DenseVector

    Multiply(DenseVector, DenseVector)

    Declaration
    public void Multiply(DenseVector X, DenseVector R)
    Parameters
    Type Name Description
    DenseVector X
    DenseVector R

    Multiply(Double[], Double[])

    Declaration
    public void Multiply(double[] X, double[] Result)
    Parameters
    Type Name Description
    Double[] X
    Double[] Result

    Row(Int32)

    Declaration
    public DenseVector Row(int r)
    Parameters
    Type Name Description
    Int32 r
    Returns
    Type Description
    DenseVector

    Set(Double[])

    Declaration
    public void Set(double[] values)
    Parameters
    Type Name Description
    Double[] values

    Set(Int32, Int32, Double)

    Declaration
    public void Set(int r, int c, double value)
    Parameters
    Type Name Description
    Int32 r
    Int32 c
    Double value

    Transpose()

    Declaration
    public DenseMatrix Transpose()
    Returns
    Type Description
    DenseMatrix

    TransposeInPlace()

    Declaration
    public void TransposeInPlace()

    Implements

    IMatrix
    In This Article
    Back to top ViRGIS VR GIS