CMSIS-DSP  
CMSIS DSP Software Library
debug.h File Reference

Macros

#define PROW_f16(S, NB)
 
#define PV_f16(S, V, NB)
 
#define PM_f16(S, M)
 
#define PROW_f32(S, NB)
 
#define PV_f32(S, V, NB)
 
#define PM_f32(S, M)
 
#define PROW_f64(S, NB)
 
#define PV_f64(S, V, NB)
 
#define PM_f64(S, M)
 

Macro Definition Documentation

◆ PM_f16

#define PM_f16 (   S,
 
)
Value:
{ \
printf("%s={",(S)); \
for(unsigned int row=0;row<(M)->numRows;row++) \
{ \
if (row != 0) \
{ \
printf("\n,"); \
} \
PROW_f16((M)->pData + row * (M)->numCols, (M)->numCols);\
} \
printf("};\n"); \
}

◆ PM_f32

#define PM_f32 (   S,
 
)
Value:
{ \
printf("%s={",(S)); \
for(unsigned int row=0;row<(M)->numRows;row++) \
{ \
if (row != 0) \
{ \
printf("\n,"); \
} \
PROW_f32((M)->pData + row * (M)->numCols, (M)->numCols);\
} \
printf("};\n"); \
}

◆ PM_f64

#define PM_f64 (   S,
 
)
Value:
{ \
printf("%s={",(S)); \
for(unsigned int row=0;row<(M)->numRows;row++) \
{ \
if (row != 0) \
{ \
printf("\n,"); \
} \
PROW_f64((M)->pData + row * (M)->numCols, (M)->numCols);\
} \
printf("};\n"); \
}

◆ PROW_f16

#define PROW_f16 (   S,
  NB 
)
Value:
{ \
printf("{%f",(double)(S)[0]); \
for(unsigned int i=1;i<(NB) ;i++) \
{ \
printf(",%f",(double)(S)[i]);\
} \
printf("}"); \
};

◆ PROW_f32

#define PROW_f32 (   S,
  NB 
)
Value:
{ \
printf("{%f",(double)(S)[0]); \
for(unsigned int i=1;i<(NB) ;i++) \
{ \
printf(",%f",(double)(S)[i]);\
} \
printf("}"); \
};

◆ PROW_f64

#define PROW_f64 (   S,
  NB 
)
Value:
{ \
printf("{%.20g",(double)(S)[0]); \
for(unsigned int i=1;i<(NB) ;i++) \
{ \
printf(",%.20g",(double)(S)[i]);\
} \
printf("}"); \
};

◆ PV_f16

#define PV_f16 (   S,
  V,
  NB 
)
Value:
{ \
printf("%s=",(S)); \
PROW_f16((V),(NB)); \
printf(";\n"); \
};

◆ PV_f32

#define PV_f32 (   S,
  V,
  NB 
)
Value:
{ \
printf("%s=",(S)); \
PROW_f32((V),(NB)); \
printf(";\n"); \
};

◆ PV_f64

#define PV_f64 (   S,
  V,
  NB 
)
Value:
{ \
printf("%s=",(S)); \
PROW_f64((V),(NB));\
printf(";\n"); \
};