data

Abstract class which is used to implement data

data

Class for implementing data

__init__(type)

Constructor for class

Parameters:
  • type (int) –

    Internal type int of data.

get_data_type()

Returns:
  • int

    Data type.

set_data_type(type)

Parameters:
  • type (int) –

    Data type.

set_clp(clp)

Parameters:
  • clp (tensor) –

    New collocation points.

set_n_clp(n_clp)

Parameters:
  • n_clp (tensor) –

    New number of collocation points.