C3E: Complex Compute Core Engine v1.0
An engine for handling complex computational tasks
Loading...
Searching...
No Matches
commons.h File Reference

Common data structures and type definitions for the C3E library. More...

#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
Include dependency graph for commons.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  c3e_vector
 Represents a mathematical vector. More...
 
struct  c3e_matrix
 Represents a mathematical matrix. More...
 
struct  c3e_matrix_tuple
 A structure representing a tuple of two matrices. More...
 
struct  c3e_svd
 Represents the Singular Value Decomposition (SVD) of a matrix. More...
 
struct  c3e_tensor
 Represents a tensor, a multi-dimensional array of numerical values. More...
 

Macros

#define PI   3.14159265358979323846
 The mathematical constant π (pi), approximated to 15 decimal places.
 

Typedefs

typedef double c3e_number
 A type representing a numerical value in C3E. Defaults to double precision.
 

Detailed Description

Author
Nathanne Isip

This file contains the basic type definitions and structures used throughout the C3E library, including vectors, matrices, and tensors. It also defines common numerical constants and types.

Typedef Documentation

◆ c3e_number

This type is used for representing numerical values in vectors, matrices, and other data structures. It can be defined as float by defining C3E_32BIT_NUMBER during compilation.