IUnit



MatrixMarket I/O Functions for Fortran (F77/F90)

Quick, free, online unit converter that converts common units of measurement, along with 77 other converters covering an assortment of units. The site also includes a predictive tool that suggests possible conversions based on input, allowing for easier navigation while learning more about various unit systems. NREL and iUnit: Leading the Design for Net Zero Multifamily Construction. NREL is collaborating with Denver developer iUNIT, using the Energy Systems Integration Facility's apartment-in-the-loop research capabilities and energy modeling tools to lead the design, demonstration, and integration of net zero, grid-friendly, and technology-integrated multifamily construction. IUnit is a unit conversion program for the Macintosh and Windows. You can convert between 1545 different units quickly and easily. IUnit also displays the values of 91 physical constants.

Matrix Market provides Fortran subroutines for three basic Matrix Market file I/O functions: mminfo,mmread, and mmwrite.All subroutines are contained in the file mmio.f.A sample driver program is provided in testio.f.

30-Oct-96 Update Note:

These routines were updated to apply bug fixes and incorporate additional input validation. Please try the new verion of mmio.f and report any problems via email to Matrix Market.

(Thanks to G.P.Leendetse and H.Oudshoom for their review of the initial version and suggested fixes.)

IUnitUnited

Unit For Storage Near Me

mminfo

Unit 731

Calling sequence:subroutine mminfo(iunit,rep,field,symm,rows,cols,entries)
Description: Queries the contents of the Matrix Market file connected to the unit iunit to extract size and storage information.

In the case of coordinate matrices, entries refers to the number of coordinate entries stored in the file.

In the case of array matrices, entries is the product rows*cols for nonsymmetric matrices, and ((rows*cols - rows)/2 + rows if symmetry was used to store the matrix efficiently.

entries can be used to determine storage requirements in the calling program.

The unit iunit must be open, and the file will be rewound on return.

Arguments:

nametypein/outdescription
iunitintegerin Unit identifier for the open filecontaining the data to be read.
repcharacter*10outMatrix Market 'representation' indicator.
On return:
coordinate (for sparse data)
array (for dense data)
elemental (to be added)
fieldcharacter*7outMatrix Market 'field'.
On return:
real
complex
integer
pattern
symmcharacter*19outMatrix Market 'field'.
On return:
symmetric
hermitian
skew-symmetric
general
rowsintegeroutNumber of rows in matrix.
colsintegeroutNumber of columns in matrix.
entriesintegeroutNumber of nonzero entries required to store matrix.

Unit Circle

mmread

United Airlines

Calling sequence:subroutine mmread(iunit,rep,field,symm,rows,cols,entries,nnzmax,
indx, jndx, rval, cval)
Description: Reads the contents of the Matrix Market file connected to the unit iunit into the storage arrays provided.

In the case of coordinate matrices, entries refers to the number of coordinate entries stored in the file.

In the case of array matrices, entries is the product rows*cols for nonsymmetric matrices, and ((rows*cols - rows)/2 + rows if symmetry was used to store the matrix efficiently.

nnzmax is used ensure that the storage arrays are large enough to hold the required data. nnzmax should therefore reflect the actual dimension of the storage arrays as declared.

The unit iunit must be open, and the file will be rewound on return.

Arguments:

nametypein/outdescription
iunitintegerin Unit identifier for the open filecontaining the data to be read.
repcharacter*10outMatrix Market 'representation' indicator.
On return:
coordinate (for sparse data)
array (for dense data)
elemental (to be added)
fieldcharacter*7outMatrix Market 'field'.
On return:
real
complex
integer
pattern
symmcharacter*19outMatrix Market 'field'.
On return:
symmetric
hermitian
skew-symmetric
general
rowsintegeroutNumber of rows in matrix.
colsintegeroutNumber of columns in matrix.
entriesintegeroutNumber of nonzero entries required to store matrix.
nnzmaxintegerinDimension of the arrays indx, jndx, etc. as declared.
indxinteger(nnz)outArray containing the row indices of the nonzero entries of a coordinate matrix.
Unchanged if the matrix is stored in array format.
jndxinteger(nnz)outArray containing the column indices of the nonzero entries of a coordinate matrix.
Unchanged if the matrix is stored in array format.
rvaldouble precision(nnz)outArray containing the values of the nonzero entries of a real or integer matrix.
Unchanged if the matrix is pattern or complex.
cvaldouble precision(nnz)outArray containing the values of the nonzero entries of a complex matrix.
Unchanged if the matrix is real, integer, or pattern.

UnitIUnit

mmwrite

Calling sequence:subroutine mmwrite(ounit,rep,field,symm,rows,cols,entries,
indx, jndx, rval, cval)
Description: Writes matrix data to a Matrix Market formatted file connected to the unit ounit.

In the case of coordinate matrices, entries number of nonzero values to be stored.

In the case of array matrices, entries is the product rows*cols for nonsymmetric matrices, and ((rows*cols - rows)/2 + rows if symmetry was used to store the matrix efficiently.

Traffic for mac os. The unit ounit must be open, and the file will be rewound on return.

Arguments:

nametypein/outdescription
ounitintegerin Unit identifier for the open fileto which the data will be written.
repcharacter*10inMatrix Market 'representation' indicator.
On return:
coordinate (for sparse data)
array (for dense data)
elemental (to be added)
fieldcharacter*7inMatrix Market 'field'.
On return:
real
complex
integer
pattern
symmcharacter*19inMatrix Market 'field'.
On return:
symmetric
hermitian
skew-symmetric
general
rowsintegerinNumber of rows in matrix.
colsintegerinNumber of columns in matrix.
entriesintegerinNumber of nonzero entries required to store matrix.
indxinteger(nnz)inArray containing the row indices of the nonzero entries of a coordinate matrix.
Ignored if the matrix to be stored is in array format.
jndxinteger(nnz)inArray containing the column indices of the nonzero entries of a coordinate matrix.
Ignored if the matrix to be stored is in array format.
rvaldouble precision(nnz)inArray containing the values of the nonzero entries of a real or integer matrix.
Ignored if the matrix is pattern or complex.
cvaldouble precision(nnz)inArray containing the values of the nonzero entries of a complex matrix.
Ignored if the matrix is real, integer, or pattern.

Unity

Updates:

30-Oct-96Bug fixes in mmio.f:
  • changed looping structure for comment lines for better portability
  • fixed non-ansi zero stringlength
  • fixed size calculation for skew-symmetric arrays
Other changes in mmio.f:
  • added integer value parameter to calling sequences
  • enforced proper count in size info line
  • added routine to count words in string (countwd)