src/socp/shooting.cpp
real *shooting::GetParameters() const {
	real *param = new real[data->numParam];
	for (int k = 0; k<data->numParam; k++) {
		param[k] = data->tab_param[k];
	}

	return param;
}
// Get current parameters as a pointer to an array
Get current parameters as a pointer to an array
Get current parameters as a pointer to an array
real *shooting::GetParameters() const {
	real *param = new real[data->numParam];
	for (int k = 0; k<data->numParam; k++) {
		param[k] = data->tab_param[k];
	}
	return param;
}
real * shooting :: GetParameters ( ) const { real * param = new real [ data -> numParam ] ; for ( int k = 0 ; k < data -> numParam ; k ++ ) { param [ k ] = data -> tab_param [ k ] ; } return param ; }
Get current parameters as a pointer to an array
Get current parameters as a pointer to an array