Class Marks Example
- group ClassMarks
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_f32
points to the marks scored by 20 students in 4 subjectsmax_marks
Maximum of all marksmin_marks
Minimum of all marksmean
Mean of all marksvar
Variance of the marksstd
Standard deviation of the marksnumStudents
Total 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.