Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: assign infinite values to vector element
From
[email protected]
To
[email protected]
Subject
st: assign infinite values to vector element
Date
Tue, 15 Mar 2011 16:39:53 +0100
Hello,
In Mata, I would like to assign a positive infinite of negative infinite value
to a vector element, something like (in R for example):
c[i,j] = Inf or c[i,j]= -Inf
Is this possible in Mata?
Thanks & kind regards Alex
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/