Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implemented by

Index

Properties

desc

its description

dim

dim: number[]

dimensions of this datatype rows, cols, ....

idtypes

idtypes: IDType[]

ncol

ncol: number

nrow

nrow: number

rowtype

rowtype: IDType

id type

Methods

at

  • at(i: number, j: number): Promise<any>
  • returns a promise for getting one cell

    Parameters

    • i: number
    • j: number

    Returns Promise<any>

clear

  • clear(): any
  • clear(type: string): any
  • clear(dim: number): any
  • clear(dim: number, type: string): any

col

cols

data

  • data(range?: Range): Promise<any[]>
  • returns a promise for getting the data as two dimensional array

    Parameters

    Returns Promise<any[]>

fromIdRange

  • fromIdRange(idRange?: Range): any

idView

ids

objects

  • objects(range?: Range): Promise<any[]>
  • returns a promise for getting the data as an array of objects

    Parameters

    Returns Promise<any[]>

off

  • off(events: any, handler: any): any

on

  • on(events: any, handler: any): any

persist

  • persist(): any

queryView

  • queryView(name: string, args: any): ITable

reduce

  • reduce(f: function, this_f?: any, valuetype?: any, idtype?: IDType): IVector
  • reduces the current matrix to a vector using the given reduce function

    Parameters

    • f: function

      the reduce function

        • (row: any[]): any
        • Parameters

          • row: any[]

          Returns any

    • Optional this_f: any

      the this context for the function default the matrix

    • Optional valuetype: any

      the new value type by default the same as matrix valuetype

    • Optional idtype: IDType

      the new vlaue type by default the same as matrix rowtype

    Returns IVector

restore

rowIds

rows

  • rows(range?: Range): Promise<string[]>
  • returns a promise for getting the row names of the matrix

    Parameters

    Returns Promise<string[]>

select

  • select(range: ranges.RangeLike): any
  • select(range: ranges.RangeLike, op: SelectOperation): any
  • select(type: string, range: ranges.RangeLike): any
  • select(type: string, range: ranges.RangeLike, op: SelectOperation): any
  • select(dim: number, range: ranges.RangeLike): any
  • select(dim: number, range: ranges.RangeLike, op: SelectOperation): any
  • select(dim: number, type: string, range: ranges.RangeLike): any
  • select(dim: number, type: string, range: ranges.RangeLike, op: SelectOperation): any

selections

  • selections(type?: string): any

view

Generated using TypeDoc