26Interfaces
This chapter contains a list of the application programmer interfaces (APIs) organised in terms of function, with cross references to the pages in Chapter 27 where the full descriptions are given. For short descriptions, see the quick reference Section 27.5.
26.1 Configuration and Observation
These interfaces do not change the values of any numerical entities. They are used to control the effect of and display the result of other operations.
26.1.1 Management
It is necessary to establish the numerical context for calculation before any can occur. This includes reserving some memory, declaring the number of dimensions, and declaring the signature for each dimension.
Before anything else is attempted, the sub‐routines recovery_level()
, create_cliffmem()
, and declare_primal()
should be invoked in that order. These do not have default values. The sub‐routine pack_signature()
can be used to make it easier to set up uniform signatures. For mixed signatures, the array ‘lambda[n]
’ needs to be initialised in some other manner. It is also appropriate to establish the printing format using format_printing()
early, although the printing format does have a default, set from within create_cliffmem()
.
Page | |
void create_cliffmem(int n); |
337 |
void free_cliffmem(int p); |
345 |
void get_mem_usage(int n[2][3]); |
349 |
int *pack_signature(int n, int *lambda, int sig); |
396 |
void declare_primal(int n, int *lambda); |
339 |
int access_primal(int **lambda); |
316 |
Page |
int ... |
Get Numerical Calculations in Clifford Algebra now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.