Zephyr Scientific Library (zscilib)
Functions
mass.h File Reference

API header file for center of mass in zscilib. More...

#include <zsl/zsl.h>
#include <zsl/vectors.h>

Go to the source code of this file.

Functions

int zsl_phy_mass_center (struct zsl_vec *m, struct zsl_vec *x, struct zsl_vec *y, struct zsl_vec *z, zsl_real_t *mx, zsl_real_t *my, zsl_real_t *mz)
 Calculates the three coordinate position of the center of mass of a set of objects given their masses and positions. More...
 

Detailed Description

API header file for center of mass in zscilib.

This file contains the zscilib center of mass APIs

Definition in file mass.h.