Skip to content

Matrix Initialisation Empty #2

@aanchalm12

Description

@aanchalm12

Hi,

I am using this library to perform matrix functions. It's working great except when I am using the following code.
vMatrix.IsEmpty is true. vMatrix.Rows = 3. vMatrix.Cols = 0.
This looks similar to the quick start example given.

VAR
v: ARRAY[1..3, 1..1] OF LREAL;
vMatrix : Array2DStaticMatrix;
END_VAR

v[1, 1] := 1;
v[2, 1] := 2;
v[3, 1] := 3;

vMatrix(Data := v);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions