Create strings holding information on GHOST objects.
More...
Create strings holding information on GHOST objects.
Create a string containing information on the context.
- Parameters
-
| str | Where to store the string. |
| context | The context to stringify. |
- Returns
- GHOST_SUCCESS on success or an error indicator.
Stringify a ghost_datatype.
- Parameters
-
- Returns
- A string representation of the data type.
Get a string containing information about the densemat.
Get a string about the storage order.
Creates a string of the densemat's contents.
- Parameters
-
| x | The densemat. |
| str | Where to store the string. |
- Returns
- GHOST_SUCCESS on success or an error indicator.
The string has to be freed by the caller.
Get a string of the GHOST error.
- Parameters
-
- Returns
- The string.
Get a string of the machine information.
- Parameters
-
| [out] | str | Where to store the string. |
- Returns
- GHOST_SUCCESS on success or an error indicator.
Turn the PU mpa into a string.
- Parameters
-
| [out] | str | Where to store the string. |
- Returns
- ::GHOST_SUCCESS on success or an error indicator.
Create a string holding information about the sparsemat.
- Parameters
-
| [out] | str | Where to store the string. |
| [in] | matrix | The sparse matrix. |
- Returns
- GHOST_SUCCESS on success or an error indicator.
Creates a string of the sparsemat's contents.
- Parameters
-
| mat | The matrix. |
| str | Where to store the string. |
| dense | If 0, only the elements stored in the sparse matrix will be included. If 1, the matrix will be interpreted as a dense matrix. |
- Returns
- GHOST_SUCCESS on success or an error indicator.
The string has to be freed by the caller.
Convert the matrix' symmetry information to a string.
- Parameters
-
| [in] | symmetry | The symmetry information. |
- Returns
- A string holding the symmetry information.
Construct string holding information on GHOST.
- Parameters
-
| str | Where to store the string. |
- Returns
- GHOST_SUCCESS on success or an error indicator.
Return a string representing the task's state.
- Parameters
-
- Returns
- The state string
Stringify a task.
- Parameters
-
| [out] | str | Where to store the string. |
| [in] | t | The task |
- Returns
- GHOST_SUCCESS on success or an error indicator.