34 ea_row.append(values[self.
keys[i]][j])
35 self.matrix.append(ea_row)
58 outStr +=
'%s: %s\n' % (k,self.
matrix[self.
keys[k]])
def setvalue(self, rowname, colname, v)
Set an entry of the matrix.
This class implements a matrix object designed to store the variance covariance matrix.
def __str__(self)
Function called by the print statement.
def getvalue(self, rowname, colname)
Get an entry of the matrix.
def __init__(self, dim, names, values)
Constructor.
dim
Dimension of the (square) matrix.