From 704aa44f873bc1e90d38900bc9c53ceb3b8c5edf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Charybdis=29?=
 <stepan@adjemian.eu>
Date: Mon, 14 Oct 2024 15:35:40 +0200
Subject: [PATCH] Add comments.

---
 matlab/@dprior/bounds.m | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/matlab/@dprior/bounds.m b/matlab/@dprior/bounds.m
index d4047ba6e3..d54cc7821d 100644
--- a/matlab/@dprior/bounds.m
+++ b/matlab/@dprior/bounds.m
@@ -1,6 +1,6 @@
 function o = bounds(o, truncation, inplace)
 
-% Return true iff d is an admissible draw in a distribution characterized by o.
+% Prior truncation excluding probaility mass in the left and right tails.
 %
 % INPUTS
 % - o               [dprior]   Distribution specification for a n×1 vector of independent continuous random variables
@@ -9,6 +9,10 @@ function o = bounds(o, truncation, inplace)
 %
 % OUTPUTS
 % - lub             [double]   n×2 matrix, lower and upper bounds of the prior support
+%
+% REMARKS
+% o.p3 and o.p4 hold the lower and upper natural boundaries of the prior supports, o.lb and o.ub hold the lower and upper bounds
+% of the truncated prior distributions (excluding probability mass in the tails).
 
 % Copyright © 2024 Dynare Team
 %
-- 
GitLab