Beispiel #1
0
def write_rb_from_coord(fname, nrow, ncol, irow, jcol, val=None, **kwargs):
    """
    Convenience function to write a matrix in coordinate format to file
    in RB format.
    """
    (ind, ip, values) = coord2csc(ncol, irow, jcol, val)
    write_rb(fname, nrow, ncol, ip, ind, val, **kwargs)
    return
Beispiel #2
0
def write_rb_from_coord(fname, nrow, ncol, irow, jcol, val=None, **kwargs):
    """
    Convenience function to write a matrix in coordinate format to file
    in RB format.
    """
    (ind, ip, values) = coord2csc(ncol, irow, jcol, val)
    write_rb(fname, nrow, ncol, ip, ind, val, **kwargs)
    return
Beispiel #3
0
def write_rb_from_coord(fname, nrow, ncol, irow, jcol, val=None, **kwargs):
    """Write a matrix in coord format to file in RB format."""
    (ind, ip, values) = coord2csc(ncol, irow, jcol, val)
    write_rb(fname, nrow, ncol, ip, ind, val, **kwargs)
    return