ContRap-Libraries
Namespaces | Functions

moments.h File Reference

This file is a part of ContRap. More...

#include <vector>
#include "math/mathexports.h"

Namespaces

namespace  crp

Functions

CONTRAP_MATH_API int crp::real_moments_from_sample (const std::vector< double > &sample, std::vector< double > &moments, int n, bool central)
 Computes real moments of a real random variable from sample.

Detailed Description

This file is a part of ContRap.

Copyright (c) 2009 by Aless Lasaruk. All rights reserved.

ContRap is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

ContRap is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with ContRap. If not, see <http://www.gnu.org/licenses/>.

This file contains the declarations for computation on moments of random variables

Author:
Aless Lasaruk