C initialisation and validation
Create validated borrowed views or mutable bindings before lookup.
table_curve_view_init
table_status_t table_curve_view_init(table_view_t *view, const void *x_axis, size_t x_count, table_scalar_type_t x_type, const void *cells, table_scalar_type_t cell_type);Initialises and validates an immutable curve view.
view Destination view. x_axis X-axis array. x_count Axis and cell count. x_type X-axis format. cells Cell array. cell_type Cell format. Operation status.
table_map_view_init
table_status_t table_map_view_init(table_view_t *view, const void *x_axis, size_t x_count, table_scalar_type_t x_type, const void *y_axis, size_t y_count, table_scalar_type_t y_type, const void *cells, table_scalar_type_t cell_type);Initialises and validates an immutable map view.
view Destination view. x_axis X-axis array. x_count X-axis count. x_type X-axis format. y_axis Y-axis array. y_count Y-axis count. y_type Y-axis format. cells Row-major cell array. cell_type Cell format. Operation status.
table_curve_init
table_status_t table_curve_init(table_mutable_t *table, void *x_axis, size_t x_count, table_scalar_type_t x_type, void *cells, table_scalar_type_t cell_type);Initialises and validates a mutable curve binding.
table Destination binding. x_axis Writable X-axis array. x_count Axis and cell count. x_type X-axis format. cells Writable cell array. cell_type Cell format. Operation status.
table_map_init
table_status_t table_map_init(table_mutable_t *table, void *x_axis, size_t x_count, table_scalar_type_t x_type, void *y_axis, size_t y_count, table_scalar_type_t y_type, void *cells, table_scalar_type_t cell_type);Initialises and validates a mutable map binding.
table Destination binding. x_axis Writable X-axis array. x_count X-axis count. x_type X-axis format. y_axis Writable Y-axis array. y_count Y-axis count. y_type Y-axis format. cells Writable row-major cells. cell_type Cell format. Operation status.
table_validate
table_status_t table_validate(const table_view_t *view);Validates a table view and all referenced data.
view Table view. Operation status.
