Struct PntosMatrix

Struct Documentation

struct PntosMatrix

A 2D container (row, col) full of doubles.

Invariants:

  • The length of data must be sizeof(double)*rows*cols

Public Members

PntosManagedMemory *memory
size_t rows

The number of rows in this matrix. For a MxN matrix, rows is M.

size_t cols

The number of columns in this matrix. For a MxN matrix, cols is N.

double *data

A set of rows x cols doubles. Data is stored in row major form.