Class Marks Example
- group Class Marks Example
Refer riscv_class_marks_example_f32.c
- Description:
Demonstrates the use the Maximum, Minimum, Mean, Standard Deviation, Variance and Matrix functions to calculate statistical values of marks obtained in a class.
- Variables Description:
testMarks_f32points to the marks scored by 20 students in 4 subjectsmax_marksMaximum of all marksmin_marksMinimum of all marksmeanMean of all marksvarVariance of the marksstdStandard deviation of the marksnumStudentsTotal number of students in the class
- NMSIS DSP Software Library Functions Used:
riscv_mat_init_f32()
riscv_mat_mult_f32()
riscv_max_f32()
riscv_min_f32()
riscv_mean_f32()
riscv_std_f32()
riscv_var_f32()
Note
This example also demonstrates the usage of static initialization.