GMMAT : An R Package for Generalized linear Mixed Model Association Tests
Copyright (C) 2014--2021  Han Chen, Matthew P. Conomos, Duy T. Pham

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

This program 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 General Public License for more details.

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


#################################################################
# Function use_brent was modified from Brent_fmin function      #
# by Han Chen on 03/11/2014, changes marked in src/fitglmm.cpp. #
# Brent_fmin is the C function used by R function optimize.     #
# The copyright information of the original Brent_fmin function #
# is shown below.                                               #  
#################################################################


R : A Computer Language for Statistical Data Analysis
Copyright (C) 1995, 1996  Robert Gentleman and Ross Ihaka
Copyright (C) 2003-2004  The R Foundation
Copyright (C) 1998--2013  The R Core Team

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

This program 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 General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, a copy is available at
http://www.r-project.org/Licenses/
