Interface: tos.lib.tosml.Data

interface Data

Author:
Rasmus Ulslev Pedersen

Commands
command uint32_t cols(dvfp *pdv)
command uint32_t colsM(dmfp *pdm)
command fp_t *getRow(dmfp *pdm, uint32_t row)
command fp_t getVal(dvfp *pdv, uint32_t col) / Vector Values ////
command fp_t getValM(dmfp *pdm, uint32_t row, uint32_t col) / Matrix values ////
command uint32_t rowsM(dmfp *pdm)
command void setVal(dvfp *pdv, uint32_t col, fp_t val) The number of columns are updated via this method, so use it.
command void setValM(dmfp *pdm, uint32_t row, uint32_t col, fp_t val) The number of columns and rows are updated via this method, so use it.

Commands - Details

cols

command uint32_t cols(dvfp *pdv)

colsM

command uint32_t colsM(dmfp *pdm)

getRow

command fp_t *getRow(dmfp *pdm, uint32_t row)

getVal

command fp_t getVal(dvfp *pdv, uint32_t col)

/ Vector Values ////

getValM

command fp_t getValM(dmfp *pdm, uint32_t row, uint32_t col)

/ Matrix values ////

rowsM

command uint32_t rowsM(dmfp *pdm)

setVal

command void setVal(dvfp *pdv, uint32_t col, fp_t val)

The number of columns are updated via this method, so use it.

setValM

command void setValM(dmfp *pdm, uint32_t row, uint32_t col, fp_t val)

The number of columns and rows are updated via this method, so use it.