Interface DustModelVariable

Information about a single variable within a model, typically found within DustModelInfo

Hierarchy

  • DustModelVariable

Properties

Properties

dim: number[]

Dimensions of the variable.

  • empty vector - a scalar
  • length-1 vector - length of a vector
  • length-2 vector - number of rows and columns of a matrix
  • length-n vector - size of each dimension

Note that as the product of an empty vector is 1, so the product of dim is always equal to length

length: number

Length of the variable - if the variable represents a vector or multidimensional array, then this is the length over all dimensions. Scalars have length 1, so that the sum of all length elements within an DustModelInfo array will equal the sum of the products of all dim elements.

name: string

Name of the variable

Generated using TypeDoc