-
-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3039 from stan-dev/move-constraint-transforms-to-…
…separate-folder Move constraint transforms to their own folder
- Loading branch information
Showing
142 changed files
with
323 additions
and
257 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#ifndef STAN_MATH_FWD_CONSTRAINT_HPP | ||
#define STAN_MATH_FWD_CONSTRAINT_HPP | ||
|
||
#include <stan/math/prim/fun/Eigen.hpp> | ||
#include <stan/math/fwd/fun/Eigen_NumTraits.hpp> | ||
|
||
#include <stan/math/fwd/constraint/unit_vector_constrain.hpp> | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
stan/math/opencl/prim/lb_constrain.hpp → ...h/opencl/prim/constraint/lb_constrain.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
stan/math/opencl/prim/lub_constrain.hpp → .../opencl/prim/constraint/lub_constrain.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...encl/prim/offset_multiplier_constrain.hpp → ...onstraint/offset_multiplier_constrain.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
stan/math/opencl/prim/ub_constrain.hpp → ...h/opencl/prim/constraint/ub_constrain.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...ath/opencl/prim/unit_vector_constrain.hpp → ...prim/constraint/unit_vector_constrain.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#ifndef STAN_MATH_OPENCL_PRIM_CONSTRAINT_HPP | ||
#define STAN_MATH_OPENCL_PRIM_CONSTRAINT_HPP | ||
#ifdef STAN_OPENCL | ||
|
||
#include <stan/math/opencl/prim/constraint/lb_constrain.hpp> | ||
#include <stan/math/opencl/prim/constraint/lub_constrain.hpp> | ||
#include <stan/math/opencl/prim/constraint/offset_multiplier_constrain.hpp> | ||
#include <stan/math/opencl/prim/constraint/ub_constrain.hpp> | ||
#include <stan/math/opencl/prim/constraint/unit_vector_constrain.hpp> | ||
|
||
#endif | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
stan/math/opencl/rev/lb_constrain.hpp → ...th/opencl/rev/constraint/lb_constrain.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
stan/math/opencl/rev/lub_constrain.hpp → ...h/opencl/rev/constraint/lub_constrain.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...pencl/rev/offset_multiplier_constrain.hpp → ...onstraint/offset_multiplier_constrain.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
stan/math/opencl/rev/ub_constrain.hpp → ...th/opencl/rev/constraint/ub_constrain.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...math/opencl/rev/unit_vector_constrain.hpp → .../rev/constraint/unit_vector_constrain.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#ifndef STAN_MATH_OPENCL_REV_CONSTRAINT_HPP | ||
#define STAN_MATH_OPENCL_REV_CONSTRAINT_HPP | ||
#ifdef STAN_OPENCL | ||
|
||
#include <stan/math/opencl/rev/constraint/lb_constrain.hpp> | ||
#include <stan/math/opencl/rev/constraint/lub_constrain.hpp> | ||
#include <stan/math/opencl/rev/constraint/offset_multiplier_constrain.hpp> | ||
#include <stan/math/opencl/rev/constraint/ub_constrain.hpp> | ||
#include <stan/math/opencl/rev/constraint/unit_vector_constrain.hpp> | ||
|
||
#endif | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
#ifndef STAN_MATH_PRIM_CONSTRAINT_HPP | ||
#define STAN_MATH_PRIM_CONSTRAINT_HPP | ||
|
||
#include <stan/math/prim/fun.hpp> | ||
|
||
#include <stan/math/prim/constraint/cholesky_corr_constrain.hpp> | ||
#include <stan/math/prim/constraint/cholesky_corr_free.hpp> | ||
#include <stan/math/prim/constraint/cholesky_factor_constrain.hpp> | ||
#include <stan/math/prim/constraint/cholesky_factor_free.hpp> | ||
#include <stan/math/prim/constraint/corr_constrain.hpp> | ||
#include <stan/math/prim/constraint/corr_free.hpp> | ||
#include <stan/math/prim/constraint/corr_matrix_constrain.hpp> | ||
#include <stan/math/prim/constraint/corr_matrix_free.hpp> | ||
#include <stan/math/prim/constraint/cov_matrix_constrain.hpp> | ||
#include <stan/math/prim/constraint/cov_matrix_constrain_lkj.hpp> | ||
#include <stan/math/prim/constraint/cov_matrix_free.hpp> | ||
#include <stan/math/prim/constraint/cov_matrix_free_lkj.hpp> | ||
#include <stan/math/prim/constraint/identity_constrain.hpp> | ||
#include <stan/math/prim/constraint/identity_free.hpp> | ||
#include <stan/math/prim/constraint/lb_constrain.hpp> | ||
#include <stan/math/prim/constraint/lb_free.hpp> | ||
#include <stan/math/prim/constraint/lub_constrain.hpp> | ||
#include <stan/math/prim/constraint/lub_free.hpp> | ||
#include <stan/math/prim/constraint/offset_multiplier_constrain.hpp> | ||
#include <stan/math/prim/constraint/offset_multiplier_free.hpp> | ||
#include <stan/math/prim/constraint/ordered_constrain.hpp> | ||
#include <stan/math/prim/constraint/ordered_free.hpp> | ||
#include <stan/math/prim/constraint/positive_constrain.hpp> | ||
#include <stan/math/prim/constraint/positive_free.hpp> | ||
#include <stan/math/prim/constraint/positive_ordered_constrain.hpp> | ||
#include <stan/math/prim/constraint/positive_ordered_free.hpp> | ||
#include <stan/math/prim/constraint/prob_constrain.hpp> | ||
#include <stan/math/prim/constraint/prob_free.hpp> | ||
#include <stan/math/prim/constraint/simplex_constrain.hpp> | ||
#include <stan/math/prim/constraint/simplex_free.hpp> | ||
#include <stan/math/prim/constraint/stochastic_column_constrain.hpp> | ||
#include <stan/math/prim/constraint/stochastic_column_free.hpp> | ||
#include <stan/math/prim/constraint/stochastic_row_constrain.hpp> | ||
#include <stan/math/prim/constraint/stochastic_row_free.hpp> | ||
#include <stan/math/prim/constraint/ub_constrain.hpp> | ||
#include <stan/math/prim/constraint/ub_free.hpp> | ||
#include <stan/math/prim/constraint/unit_vector_constrain.hpp> | ||
#include <stan/math/prim/constraint/unit_vector_free.hpp> | ||
|
||
#endif |
6 changes: 3 additions & 3 deletions
6
...math/prim/fun/cholesky_corr_constrain.hpp → ...im/constraint/cholesky_corr_constrain.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
stan/math/prim/fun/cholesky_corr_free.hpp → ...th/prim/constraint/cholesky_corr_free.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...th/prim/fun/cholesky_factor_constrain.hpp → .../constraint/cholesky_factor_constrain.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.